Skip to content

Commit 3ae39ea

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: fixed CS fixed CS [HttpKernel] Remove TestEventDispatcher.
2 parents bf2af40 + e14c438 commit 3ae39ea

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
@@ -744,15 +744,15 @@ private function getSchemeAndHierarchy(string $filename): array
744744
private static function box($func)
745745
{
746746
self::$lastError = null;
747-
\set_error_handler(__CLASS__.'::handleError');
747+
set_error_handler(__CLASS__.'::handleError');
748748
try {
749749
$result = $func(...\array_slice(\func_get_args(), 1));
750-
\restore_error_handler();
750+
restore_error_handler();
751751

752752
return $result;
753753
} catch (\Throwable $e) {
754754
}
755-
\restore_error_handler();
755+
restore_error_handler();
756756

757757
throw $e;
758758
}

0 commit comments

Comments
 (0)