]> granicus.if.org Git - php/commitdiff
Fix proto and arg info
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 17 Dec 2015 00:19:05 +0000 (09:19 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 17 Dec 2015 00:19:05 +0000 (09:19 +0900)
ext/pgsql/pgsql.c

index 493ffd97c2eea7b99c4b2a0a72c32e197a6df0ff..812a2d5fc0d1e621644df564713316ca90d28b11 100644 (file)
@@ -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)
 {