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 acf9975 commit 44fa9caCopy full SHA for 44fa9ca
Filesystem.php
@@ -746,16 +746,16 @@ private function getSchemeAndHierarchy($filename)
746
private static function box($func)
747
{
748
self::$lastError = null;
749
- \set_error_handler(__CLASS__.'::handleError');
+ set_error_handler(__CLASS__.'::handleError');
750
try {
751
$result = \call_user_func_array($func, \array_slice(\func_get_args(), 1));
752
- \restore_error_handler();
+ restore_error_handler();
753
754
return $result;
755
} catch (\Throwable $e) {
756
} catch (\Exception $e) {
757
}
758
759
760
throw $e;
761
0 commit comments