@@ -123,7 +123,7 @@ |
||
| 123 | 123 | , [false] |
| 124 | 124 | , [0] |
| 125 | 125 | , [[]] |
| 126 | - , [function () { |
|
| 126 | + , [function() { |
|
| 127 | 127 | }] |
| 128 | 128 | , [new \Exception] |
| 129 | 129 | , [$fail_resource] |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | { |
| 42 | 42 | |
| 43 | 43 | /** @noinspection PhpUnusedParameterInspection */ |
| 44 | - set_error_handler(function (int $messageType, string $messageText) { |
|
| 44 | + set_error_handler(function(int $messageType, string $messageText) { |
|
| 45 | 45 | self::$lastError = "[$messageType] " . $messageText; |
| 46 | 46 | }); |
| 47 | 47 | |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | // if file was once empty is not critical. |
| 81 | 81 | // It was after crash daemon. |
| 82 | 82 | // There are signal for admin/developer. |
| 83 | - trigger_error((string)$exception, E_USER_NOTICE); |
|
| 83 | + trigger_error((string) $exception, E_USER_NOTICE); |
|
| 84 | 84 | } |
| 85 | 85 | self::truncatePidFile($file_resource); |
| 86 | 86 | } |