Completed
Pull Request — develop (#86)
by Jaap
06:18
created
src/phpDocumentor/Reflection/Middleware/ChainFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     public static function createExecutionChain($middlewareList, callable $lastCallable)
25 25
     {
26 26
         while ($middleware = array_pop($middlewareList)) {
27
-            if (! $middleware instanceof Middleware) {
27
+            if (!$middleware instanceof Middleware) {
28 28
                 throw new InvalidArgumentException(
29 29
                     sprintf(
30 30
                         'Middleware must be an instance of %s but %s was given',
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
                     )
34 34
                 );
35 35
             }
36
-            $lastCallable = function ($command) use ($middleware, $lastCallable) {
36
+            $lastCallable = function($command) use ($middleware, $lastCallable) {
37 37
                 return $middleware->execute($command, $lastCallable);
38 38
             };
39 39
         }
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Class_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
                 switch (get_class($stmt)) {
90 90
                     case TraitUse::class:
91 91
                         foreach ($stmt->traits as $use) {
92
-                            $classElement->addUsedTrait(new Fqsen('\\'. $use->toString()));
92
+                            $classElement->addUsedTrait(new Fqsen('\\' . $use->toString()));
93 93
                         }
94 94
                         break;
95 95
                     case PropertyNode::class:
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $this->nodesFactory = $nodesFactory;
69 69
         $this->adapter = $adapter;
70 70
 
71
-        $lastCallable = function ($command) {
71
+        $lastCallable = function($command) {
72 72
             return $this->createFile($command);
73 73
         };
74 74
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Trait_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
                         break;
81 81
                     case TraitUse::class:
82 82
                         foreach ($stmt->traits as $use) {
83
-                            $trait->addUsedTrait(new Fqsen('\\'. $use->toString()));
83
+                            $trait->addUsedTrait(new Fqsen('\\' . $use->toString()));
84 84
                         }
85 85
                         break;
86 86
                 }
Please login to merge, or discard this patch.