Skip to content

Commit 952a8cb

Browse files
minor #51096 Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls (lyrixx)
This PR was merged into the 6.4 branch. Discussion ---------- Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- be1bbbccc1 Use more "First class callable syntax" + Normalize set_error_handler/set_exception_handler calls
2 parents ab0c940 + 36d2394 commit 952a8cb

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)