From 7a01ff5e91983bb1b8fa7bf9e6b115aa99917b64 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 17 Dec 2015 09:19:05 +0900 Subject: [PATCH] Fix proto and arg info --- ext/pgsql/pgsql.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.50.1