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 ca826a2 commit d515c8bCopy full SHA for d515c8b
src/File.php
@@ -381,7 +381,7 @@ public static function invalidateFileCache($file)
381
* @return boolean True if path is a file
382
*
383
*/
384
- public static function exists($file): bool
+ public static function exists(string $file): bool
385
{
386
return is_file(Path::clean($file));
387
}
src/Folder.php
@@ -555,7 +555,7 @@ public static function makeSafe($path)
555
556
* @return boolean True if path is a folder
557
558
- public static function exists($path): bool
+ public static function exists(string $path): bool
559
560
return is_dir(Path::clean($path));
561
0 commit comments