Passed
Push — master ( d6467c...1bc1f8 )
by PHPinnacle
06:15 queued 03:21
created
examples/concurent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@  discard block
 block discarded – undo
5 5
 
6 6
 require __DIR__ . '/../vendor/autoload.php';
7 7
 
8
-Amp\Loop::run(function () {
8
+Amp\Loop::run(function() {
9 9
     $dispatcher = new Dispatcher();
10 10
     $dispatcher
11
-        ->register('emit', function (string $string, int $num, int $delay = 100) {
11
+        ->register('emit', function(string $string, int $num, int $delay = 100) {
12 12
             for ($i = 0; $i < $num; $i++) {
13 13
                 echo $string;
14 14
 
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         })
20 20
     ;
21 21
 
22
-    $times   = \rand(5, 10);
22
+    $times = \rand(5, 10);
23 23
     $actionOne = $dispatcher->dispatch('emit', '-', $times, 100);
24 24
     $actionTwo = $dispatcher->dispatch('emit', '+', $times + \rand(5, 10), 100);
25 25
 
Please login to merge, or discard this patch.
src/Exception/BadActionCall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * file that was distributed with this source code.
9 9
  */
10 10
 
11
-declare(strict_types = 1);
11
+declare(strict_types=1);
12 12
 
13 13
 namespace PHPinnacle\Ensign\Exception;
14 14
 
Please login to merge, or discard this patch.