We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f5863 commit 4502072Copy full SHA for 4502072
Extractor/AbstractFileExtractor.php
@@ -45,7 +45,7 @@ protected function extractFiles($resource)
45
46
private function toSplFileInfo(string $file): \SplFileInfo
47
{
48
- return ($file instanceof \SplFileInfo) ? $file : new \SplFileInfo($file);
+ return new \SplFileInfo($file);
49
}
50
51
/**
0 commit comments