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 341ac65 commit 4058691Copy full SHA for 4058691
src/Promise/ErrorHandler.php
@@ -75,8 +75,7 @@ public static function notify($error)
75
}
76
77
try {
78
- $callback = self::$callback;
79
- $callback($error);
+ \call_user_func(self::$callback, $error);
80
} catch (\Exception $e) {
81
// We're already a last chance handler, throwing doesn't make sense, so use a real fatal
82
trigger_error(sprintf(
0 commit comments