@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | if ($this->autoShutdown) { |
84 | 84 | foreach ($statusCodes as $statusCode) { |
85 | 85 | if ($statusCode >= 500 && $statusCode < 600) { |
86 | - $this->flagShutdown('Automatic shutdown following status code: ' . $statusCode); |
|
86 | + $this->flagShutdown('Automatic shutdown following status code: '.$statusCode); |
|
87 | 87 | break; |
88 | 88 | } |
89 | 89 | } |
@@ -98,13 +98,13 @@ discard block |
||
98 | 98 | */ |
99 | 99 | private function installSignalHandlers(): void |
100 | 100 | { |
101 | - declare (ticks = 1); |
|
101 | + declare(ticks=1); |
|
102 | 102 | |
103 | - pcntl_signal(SIGINT, function () { |
|
103 | + pcntl_signal(SIGINT, function() { |
|
104 | 104 | throw new ShutdownException('Daemon shutdown requested (received SIGINT)'); |
105 | 105 | }); |
106 | 106 | |
107 | - pcntl_signal(SIGALRM, function () { |
|
107 | + pcntl_signal(SIGALRM, function() { |
|
108 | 108 | throw new ShutdownException('Daemon time limit reached (received SIGALRM)'); |
109 | 109 | }); |
110 | 110 | } |