Skip to content

Commit 603648f

Browse files
committed
Update functionMap.php for SplFileInfo::getPathInfo return type
SplFileInfo::getPathInfo can return null as per documentation https://www.php.net/manual/en/splfileinfo.getpathinfo.php
1 parent fd304ca commit 603648f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: resources/functionMap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11556,7 +11556,7 @@
1155611556
'SplFileInfo::getMTime' => ['__benevolent<int|false>'],
1155711557
'SplFileInfo::getOwner' => ['__benevolent<int|false>'],
1155811558
'SplFileInfo::getPath' => ['string'],
11559-
'SplFileInfo::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'],
11559+
'SplFileInfo::getPathInfo' => ['SplFileInfo|null', 'class_name='=>'string'],
1156011560
'SplFileInfo::getPathname' => ['string'],
1156111561
'SplFileInfo::getPerms' => ['__benevolent<int|false>'],
1156211562
'SplFileInfo::getRealPath' => ['__benevolent<string|false>'],

0 commit comments

Comments
 (0)