]> granicus.if.org Git - php/commitdiff
Fix imagesetinterpolation arginfo
authorGabriel Caruso <carusogabriel34@gmail.com>
Sat, 24 Feb 2018 00:33:03 +0000 (21:33 -0300)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 24 Feb 2018 10:30:24 +0000 (11:30 +0100)
imagesetinterpolation only requires one parameter.

NEWS
ext/gd/gd.c

diff --git a/NEWS b/NEWS
index 7dcc0b8473ceaa97af7fa0162ef09a7130eb8116..c0fee6e485cf3dce6913ae201cb74af423b6f958 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,9 @@ PHP                                                                        NEWS
 - FTP:
   . Fixed ftp_pasv arginfo. (carusogabriel)
 
+-GD:
+  . Fixed imagesetinterpolation arginfo. (Gabriel Caruso)
+
 - LDAP:
   . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke)
 
index 1b2c4f0510d78c6469d9025ce727c061187f7cda..e7667d2d2a88efc8df0754a8179afa05e5a418c1 100644 (file)
@@ -819,7 +819,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_imageaffinematrixconcat, 0)
        ZEND_ARG_INFO(0, m2)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO(arginfo_imagesetinterpolation, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_imagesetinterpolation, 0, 0, 1)
        ZEND_ARG_INFO(0, im)
        ZEND_ARG_INFO(0, method)
 ZEND_END_ARG_INFO()