Skip to content

Commit 4502072

Browse files
kalessilfabpot
authored andcommitted
[minor] SCA
1 parent e1f5863 commit 4502072

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)