Skip to content

Commit 09f7c00

Browse files
staabmondrejmirtes
authored andcommitted
fgetcsv accepts null for $length
1 parent d9d93b7 commit 09f7c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2932,7 +2932,7 @@
29322932
'ffmpeg_movie::hasAudio' => ['bool'],
29332933
'ffmpeg_movie::hasVideo' => ['bool'],
29342934
'fgetc' => ['string|false', 'fp'=>'resource'],
2935-
'fgetcsv' => ['list<string>|array{0: null}|false|null', 'fp'=>'resource', 'length='=>'0|positive-int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
2935+
'fgetcsv' => ['list<string>|array{0: null}|false|null', 'fp'=>'resource', 'length='=>'0|positive-int|null', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
29362936
'fgets' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int'],
29372937
'fgetss' => ['string|false', 'fp'=>'resource', 'length='=>'0|positive-int', 'allowable_tags='=>'string'],
29382938
'file' => ['list<string>|false', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'],

0 commit comments

Comments
 (0)