Skip to content

Commit b6d8164

Browse files
Merge branch '4.0' into 4.1
* 4.0: [minor] SCA [Serializer] Minor tweaks for a67b650f12e5252a5d30c4c94576d73e15f19aef allow_extra_attributes does not throw an exception as documented [Cache] fix visibility of RedisTrait::init() [Serializer] Updates DocBlock to a mixed param type
2 parents 16328f5 + 4502072 commit b6d8164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extractor/AbstractFileExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function extractFiles($resource)
4545

4646
private function toSplFileInfo(string $file): \SplFileInfo
4747
{
48-
return ($file instanceof \SplFileInfo) ? $file : new \SplFileInfo($file);
48+
return new \SplFileInfo($file);
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)