summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-23 21:33:03 -0300
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-24 11:30:24 +0100
commita358211a75ef17a51f67df471552df92c68fa565 (patch)
tree16fa629fa6c9b257d2e4ed98f309d290c8f6549b
parentae1f18b69c466e9dd26573e87633ca0a0bd4d4a9 (diff)
downloadphp-git-a358211a75ef17a51f67df471552df92c68fa565.tar.gz
Fix imagesetinterpolation arginfo
imagesetinterpolation only requires one parameter.
-rw-r--r--NEWS3
-rw-r--r--ext/gd/gd.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7dcc0b8473..c0fee6e485 100644
--- 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)
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 1b2c4f0510..e7667d2d2a 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -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()