summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2015-12-17 09:19:05 +0900
committerYasuo Ohgaki <yohgaki@php.net>2015-12-17 09:19:05 +0900
commit7a01ff5e91983bb1b8fa7bf9e6b115aa99917b64 (patch)
tree24461bb63541049ac27bebd3d5c6577e0708dcef /ext/pgsql/pgsql.c
parentb6935efc8e7bec39999bc681b2a185b0d778dbfd (diff)
downloadphp-git-7a01ff5e91983bb1b8fa7bf9e6b115aa99917b64.tar.gz
Fix proto and arg info
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 493ffd97c2..812a2d5fc0 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -208,6 +208,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_last_notice, 0, 0, 1)
ZEND_ARG_INFO(0, connection)
+ ZEND_ARG_INFO(0, all_notices)
ZEND_END_ARG_INFO()
#ifdef HAVE_PQFTABLE
@@ -2303,7 +2304,7 @@ PHP_FUNCTION(pg_affected_rows)
/* }}} */
#endif
-/* {{{ proto string pg_last_notice(resource connection [, bool all_notices])
+/* {{{ proto mixed pg_last_notice(resource connection [, bool all_notices])
Returns the last notice set by the backend */
PHP_FUNCTION(pg_last_notice)
{