Passed
Pull Request — master (#9)
by Shinji
01:25
created
src/Command/Inspector/Worker/php-searcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 use DI\ContainerBuilder;
16 16
 use PhpProfiler\Lib\Concurrency\Amphp\Task\PhpSearcherTask;
17 17
 
18
-return function (Channel $channel): \Generator {
18
+return function(Channel $channel): \Generator {
19 19
 
20 20
     $container = (new ContainerBuilder())->addDefinitions(__DIR__ . '/../../../../config/di.php')->build();
21 21
 
Please login to merge, or discard this patch.
src/Command/Inspector/Worker/php-reader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 use DI\ContainerBuilder;
16 16
 use PhpProfiler\Lib\Concurrency\Amphp\Task\PhpReaderTask;
17 17
 
18
-return function (Channel $channel): \Generator {
18
+return function(Channel $channel): \Generator {
19 19
 
20 20
     $container = (new ContainerBuilder())->addDefinitions(__DIR__ . '/../../../../config/di.php')->build();
21 21
 
Please login to merge, or discard this patch.
src/Command/Inspector/DaemonCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
             Promise\wait($context->send($pid));
56 56
             $readers[$pid] = $context;
57 57
         }
58
-        Loop::run(function () use (&$readers, $output) {
59
-            Loop::repeat(10, function () use (&$readers, $output) {
58
+        Loop::run(function() use (&$readers, $output) {
59
+            Loop::repeat(10, function() use (&$readers, $output) {
60 60
                 if (empty($readers)) {
61 61
                     return false;
62 62
                 }
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                         continue;
68 68
                     }
69 69
                     $promises[] = \Amp\call(
70
-                        function () use ($reader, &$readers, $pid, $output) {
70
+                        function() use ($reader, &$readers, $pid, $output) {
71 71
                             /** @var string */
72 72
                             unset($readers[$pid]);
73 73
                             $result = yield $reader->receive();
Please login to merge, or discard this patch.