Skip to content

Commit 6939c04

Browse files
authored
Revert "fix: deprecated is_file function (#45216)" (#45229)
This reverts commit 0049211.
1 parent 0d7b45e commit 6939c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ public function hasSameHash($firstFile, $secondFile)
536536
*/
537537
public function isFile($file)
538538
{
539-
return is_string($file) && is_file($file);
539+
return is_file($file);
540540
}
541541

542542
/**

0 commit comments

Comments
 (0)