Skip to content

Commit b80968f

Browse files
oxanondrejmirtes
authored andcommitted
More precise return type for mysqli_fetch_all()
1 parent 087fdeb commit b80968f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7473,7 +7473,7 @@
74737473
'mysqli_errno' => ['int', 'link'=>'mysqli'],
74747474
'mysqli_error' => ['string|null', 'link'=>'mysqli'],
74757475
'mysqli_error_list' => ['array', 'connection'=>'mysqli'],
7476-
'mysqli_fetch_all' => ['array', 'result'=>'mysqli_result', 'resulttype='=>'int'],
7476+
'mysqli_fetch_all' => ['list<array>', 'result'=>'mysqli_result', 'resulttype='=>'int'],
74777477
'mysqli_fetch_array' => ['array|null|false', 'result'=>'mysqli_result', 'resulttype='=>'int'],
74787478
'mysqli_fetch_assoc' => ['array<string,string|int|float|null>|null|false', 'result'=>'mysqli_result'],
74797479
'mysqli_fetch_column' => ['null|int|float|string|false', 'result' => 'mysqli_result', 'column'=>'int'],
@@ -7525,7 +7525,7 @@
75257525
'mysqli_result::__construct' => ['void', 'link'=>'mysqli', 'resultmode='=>'int'],
75267526
'mysqli_result::close' => ['void'],
75277527
'mysqli_result::data_seek' => ['bool', 'offset'=>'int'],
7528-
'mysqli_result::fetch_all' => ['array', 'resulttype='=>'int'],
7528+
'mysqli_result::fetch_all' => ['list<array>', 'resulttype='=>'int'],
75297529
'mysqli_result::fetch_array' => ['array|null|false', 'resulttype='=>'int'],
75307530
'mysqli_result::fetch_assoc' => ['array<string,string|int|float|null>|null|false'],
75317531
'mysqli_result::fetch_column' => ['null|int|float|string|false', 'column'=>'int'],

0 commit comments

Comments
 (0)