Completed
Pull Request — master (#270)
by
unknown
04:16
created
src/Swoole/Process/ServerTimeoutTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function registerSignal()
24 24
     {
25 25
         if ($this->getServerTimeout() != -1) {
26
-            pcntl_signal(SIGALRM, function () {
26
+            pcntl_signal(SIGALRM, function() {
27 27
                 \Swoole\Process::alarm(-1);
28 28
                 throw new \Exception();
29 29
             });
Please login to merge, or discard this patch.