Completed
Branch master (d5a10e)
by Yuriy
02:47
created
Category
tests/DispatcherTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
tests/DevDispatcherTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
tests/Fake/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
tests/Fake/Counter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
src/AlreadyExistsException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
src/DispatcherTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public function subscribe(string $event, string $listener, callable $action, int $priority = 0)
48 48
     {
49 49
         $actionKey = $event . static::KEY_DELIMITER . $listener;
50
-        if (! isset($this->subscriptions[$actionKey])) {
50
+        if (!isset($this->subscriptions[$actionKey])) {
51 51
             $priorityKey = $this->convertNumber($priority, ++$this->subscriptionId);
52 52
             $this->events[$event][$priorityKey] = $actionKey;
53 53
             $this->subscriptions[$actionKey] = $action;
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function dispatch(string $event)
87 87
     {
88 88
         if (isset($this->events[$event])) {
89
-            if (! $this->reverseOrder[$event]) {
89
+            if (!$this->reverseOrder[$event]) {
90 90
                 $this->reverseOrder[$event] = krsort($this->events[$event], SORT_NUMERIC);
91 91
             }
92 92
             foreach ($this->events[$event] as $priorityKey => $actionKey) {
Please login to merge, or discard this patch.
src/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.
src/DevDispatcherTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $notified = [];
29 29
         if (isset($this->events[$event])) {
30
-            if (! $this->reverseOrder[$event]) {
30
+            if (!$this->reverseOrder[$event]) {
31 31
                 $this->reverseOrder[$event] = krsort($this->events[$event], SORT_NUMERIC);
32 32
             }
33 33
             foreach ($this->events[$event] as $priorityKey => $actionKey) {
Please login to merge, or discard this patch.
src/DispatcherInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * @author    Yuriy Davletshin <[email protected]>
Please login to merge, or discard this patch.