Skip to content

Commit f5cbc2c

Browse files
committed
Add types to private and final methods.
1 parent 3ad3f3d commit f5cbc2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Filesystem.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,10 @@ private function getSchemeAndHierarchy(string $filename): array
740740
return 2 === \count($components) ? [$components[0], $components[1]] : [null, $components[0]];
741741
}
742742

743-
private static function box($func)
743+
/**
744+
* @return mixed
745+
*/
746+
private static function box(callable $func)
744747
{
745748
self::$lastError = null;
746749
set_error_handler(__CLASS__.'::handleError');

0 commit comments

Comments
 (0)