Skip to content

Commit 7b1946a

Browse files
committed
Turned return type annotations of private methods into php return types.
1 parent bac0c47 commit 7b1946a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Filesystem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,9 @@ public function rename($origin, $target, $overwrite = false)
294294
/**
295295
* Tells whether a file exists and is readable.
296296
*
297-
* @return bool
298-
*
299297
* @throws IOException When windows path is longer than 258 characters
300298
*/
301-
private function isReadable(string $filename)
299+
private function isReadable(string $filename): bool
302300
{
303301
$maxPathLength = PHP_MAXPATHLEN - 2;
304302

0 commit comments

Comments
 (0)