Skip to content

Commit 36d2394

Browse files
committed
Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls
1 parent edd3677 commit 36d2394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ private static function box(string $func, mixed ...$args): mixed
749749
self::assertFunctionExists($func);
750750

751751
self::$lastError = null;
752-
set_error_handler(__CLASS__.'::handleError');
752+
set_error_handler(self::handleError(...));
753753
try {
754754
return $func(...$args);
755755
} finally {

0 commit comments

Comments
 (0)