@@ -15,7 +15,7 @@ |
||
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 |
@@ -15,7 +15,7 @@ |
||
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 |
@@ -55,8 +55,8 @@ discard block |
||
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 |
||
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(); |