Passed
Push — master ( 1fe41a...42e026 )
by kacper
03:45
created
src/Async/AsyncProcess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->hasOnErrorSet = null !== $callback;
26 26
 
27 27
         $this->start(
28
-            static function (string $type, string $buffer) use ($callback, $onError) {
28
+            static function(string $type, string $buffer) use ($callback, $onError) {
29 29
                 // if we can't decode probably child failed to execute
30 30
                 if ($decoded = base64_decode($buffer, true)) {
31 31
                     /** @var AsyncChildResponse $asyncChildResponse */
Please login to merge, or discard this patch.
src/Async/AsyncCall.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         if (!self::$shutdownFunctionRegistered) {
75 75
             register_shutdown_function(
76
-                static function () {
76
+                static function() {
77 77
                     self::waitForProcessesToFinish();
78 78
                 }
79 79
             );
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     private static function waitForProcessesToFinish(int $maxProcessToWait = 0): void
85 85
     {
86
-        for (; ;) {
86
+        for (;;) {
87 87
             if (0 === self::$processAmount || $maxProcessToWait > self::$processAmount) {
88 88
                 break;
89 89
             }
Please login to merge, or discard this patch.