From ca26acd31e9c4b6e4d55565095ac48dd99f8cad9 Mon Sep 17 00:00:00 2001 From: orklah Date: Fri, 4 Dec 2020 21:11:35 +0100 Subject: [PATCH] improve pg_fetch return types (#4777) --- dictionaries/CallMap.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index b47e99b69..bcdb2fd2a 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -9834,10 +9834,10 @@ return [ 'pg_exec' => ['resource|false', 'connection'=>'resource', 'query'=>'string'], 'pg_execute' => ['resource|false', 'connection'=>'resource', 'statement_name'=>'string', 'params'=>'array'], 'pg_execute\'1' => ['resource|false', 'connection'=>'string', 'statement_name'=>'array'], -'pg_fetch_all' => ['array|false', 'result'=>'resource', 'mode='=>'int'], +'pg_fetch_all' => ['array|false', 'result'=>'resource', 'mode='=>'int'], 'pg_fetch_all_columns' => ['array|false', 'result'=>'resource', 'field='=>'int'], -'pg_fetch_array' => ['array|false', 'result'=>'resource', 'row='=>'?int', 'mode='=>'int'], -'pg_fetch_assoc' => ['array|false', 'result'=>'resource', 'row='=>'?int'], +'pg_fetch_array' => ['array|false', 'result'=>'resource', 'row='=>'?int', 'mode='=>'int'], +'pg_fetch_assoc' => ['array|false', 'result'=>'resource', 'row='=>'?int'], 'pg_fetch_object' => ['object', 'result'=>'resource', 'row='=>'?int', 'class='=>'int'], 'pg_fetch_object\'1' => ['object', 'result'=>'resource', 'row='=>'?int', 'class='=>'string', 'constructor_args='=>'array'], 'pg_fetch_result' => ['string', 'result'=>'resource', 'row'=>'string|int'],