@@ -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] |
@@ -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 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | { |
| 50 | 50 | |
| 51 | 51 | /** @noinspection PhpUnusedParameterInspection */ |
| 52 | - set_error_handler(function (int $messageType, string $messageText) { |
|
| 52 | + set_error_handler(function(int $messageType, string $messageText) { |
|
| 53 | 53 | self::$lastError = "[$messageType] " . $messageText; |
| 54 | 54 | }); |
| 55 | 55 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |