Completed
Push — master ( a11706...9cd6fd )
by Andrew
02:26
created
src/Inflector/HandleMethodInflector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     {
7 7
         $method = 'handle';
8 8
 
9
-        if (! method_exists($listener, $method)) {
9
+        if (!method_exists($listener, $method)) {
10 10
             return null;
11 11
         }
12 12
 
Please login to merge, or discard this patch.
src/Emitter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,16 +35,16 @@
 block discarded – undo
35 35
      */
36 36
     private function createChain($middleware)
37 37
     {
38
-        $last = function () {
38
+        $last = function() {
39 39
             // nothing
40 40
         };
41 41
 
42 42
         while ($link = array_pop($middleware)) {
43
-            if (! $link instanceof Middleware) {
43
+            if (!$link instanceof Middleware) {
44 44
                 throw new InvalidMiddlewareException('Shitballs!');
45 45
             }
46 46
 
47
-            $last = function ($event) use ($link, $last) {
47
+            $last = function($event) use ($link, $last) {
48 48
                 return $link->execute($event, $last);
49 49
             };
50 50
         }
Please login to merge, or discard this patch.
src/Registry/TypehintedClassRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $methods = $class->getMethods();
14 14
 
15 15
         foreach ($methods as $method) {
16
-            if (! $method->isPublic()) {
16
+            if (!$method->isPublic()) {
17 17
                 continue;
18 18
             }
19 19
 
Please login to merge, or discard this patch.
src/Middleware/InvokeListenerMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,14 +39,14 @@
 block discarded – undo
39 39
     {
40 40
         $listeners = $this->listeners->find($event);
41 41
 
42
-        if (! $listeners) {
42
+        if (!$listeners) {
43 43
             return;
44 44
         }
45 45
 
46 46
         foreach ($listeners as $listener) {
47 47
             $method = $this->inflector->inflect($event, $listener);
48 48
 
49
-            if (! $method) {
49
+            if (!$method) {
50 50
                 continue;
51 51
             }
52 52
 
Please login to merge, or discard this patch.
src/Inflector/TypehintMethodInflector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $methods = $class->getMethods();
14 14
 
15 15
         foreach ($methods as $method) {
16
-            if (! $method->isPublic()) {
16
+            if (!$method->isPublic()) {
17 17
                 continue;
18 18
             }
19 19
 
Please login to merge, or discard this patch.