Skip to content

Commit 96b10ea

Browse files
thierry-f-78ondrejmirtes
authored andcommitted
fix pg_field_name prototype
This patch fix pg_field_name prototype according with the PHP documentation https://www.php.net/manual/en/function.pg-field-name.php pg_field_name could return field name (string) or false on error
1 parent d18314d commit 96b10ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8534,7 +8534,7 @@
85348534
'pg_fetch_row' => ['array|false', 'result'=>'resource', 'row='=>'?int', 'result_type='=>'int'],
85358535
'pg_field_is_null' => ['int|false', 'result'=>'', 'field_name_or_number'=>'string|int'],
85368536
'pg_field_is_null\'1' => ['int', 'result'=>'', 'row'=>'int', 'field_name_or_number'=>'string|int'],
8537-
'pg_field_name' => ['string', 'result'=>'resource', 'field_number'=>'int'],
8537+
'pg_field_name' => ['string|false', 'result'=>'resource', 'field_number'=>'int'],
85388538
'pg_field_num' => ['int', 'result'=>'resource', 'field_name'=>'string'],
85398539
'pg_field_prtlen' => ['int|false', 'result'=>'', 'field_name_or_number'=>''],
85408540
'pg_field_prtlen\'1' => ['int', 'result'=>'', 'row'=>'int', 'field_name_or_number'=>'string|int'],

0 commit comments

Comments
 (0)