Skip to content

Commit e14c438

Browse files
committed
fixed CS
1 parent b47f63c commit e14c438

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Filesystem.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,15 +743,15 @@ private function getSchemeAndHierarchy(string $filename): array
743743
private static function box($func)
744744
{
745745
self::$lastError = null;
746-
\set_error_handler(__CLASS__.'::handleError');
746+
set_error_handler(__CLASS__.'::handleError');
747747
try {
748748
$result = $func(...\array_slice(\func_get_args(), 1));
749-
\restore_error_handler();
749+
restore_error_handler();
750750

751751
return $result;
752752
} catch (\Throwable $e) {
753753
}
754-
\restore_error_handler();
754+
restore_error_handler();
755755

756756
throw $e;
757757
}

0 commit comments

Comments
 (0)