@@ -18,6 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | return (bool)(($error['type'] ?? 0) |
| 20 | 20 | & |
| 21 | - (E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR)); |
|
| 21 | + (E_ERROR|E_CORE_ERROR|E_COMPILE_ERROR|E_USER_ERROR|E_RECOVERABLE_ERROR)); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -45,12 +45,12 @@ |
||
| 45 | 45 | // Automatically run loop at the end of script, unless already started or stopped explicitly. |
| 46 | 46 | // @codeCoverageIgnoreStart |
| 47 | 47 | $hasRun = false; |
| 48 | - EventLoop::defer(static function () use (&$hasRun): void { |
|
| 48 | + EventLoop::defer(static function() use (&$hasRun): void { |
|
| 49 | 49 | $hasRun = true; |
| 50 | 50 | }); |
| 51 | 51 | |
| 52 | 52 | $stopped = &self::$stopped; |
| 53 | - register_shutdown_function(static function () use (&$hasRun, &$stopped): void { |
|
| 53 | + register_shutdown_function(static function() use (&$hasRun, &$stopped): void { |
|
| 54 | 54 | // Don't run if we're coming from a fatal error (uncaught exception). |
| 55 | 55 | if (self::error()) { |
| 56 | 56 | return; |