Skip to content

Commit

Permalink
fix pg_field_name prototype
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thierry-f-78 authored and ondrejmirtes committed Aug 19, 2021
1 parent d18314d commit 96b10ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/functionMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8534,7 +8534,7 @@
'pg_fetch_row' => ['array|false', 'result'=>'resource', 'row='=>'?int', 'result_type='=>'int'],
'pg_field_is_null' => ['int|false', 'result'=>'', 'field_name_or_number'=>'string|int'],
'pg_field_is_null\'1' => ['int', 'result'=>'', 'row'=>'int', 'field_name_or_number'=>'string|int'],
'pg_field_name' => ['string', 'result'=>'resource', 'field_number'=>'int'],
'pg_field_name' => ['string|false', 'result'=>'resource', 'field_number'=>'int'],
'pg_field_num' => ['int', 'result'=>'resource', 'field_name'=>'string'],
'pg_field_prtlen' => ['int|false', 'result'=>'', 'field_name_or_number'=>''],
'pg_field_prtlen\'1' => ['int', 'result'=>'', 'row'=>'int', 'field_name_or_number'=>'string|int'],
Expand Down

0 comments on commit 96b10ea

Please sign in to comment.