Passed
Branch release/v2.0.0 (272d59)
by Anatoly
06:01 queued 02:10
created
src/Loader/AnnotationDirectoryLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
             }
228 228
         }
229 229
 
230
-        uasort($annotations, function ($a, $b) {
230
+        uasort($annotations, function($a, $b) {
231 231
             return $b->priority <=> $a->priority;
232 232
         });
233 233
 
Please login to merge, or discard this patch.
src/Loader/CollectableFileLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         );
87 87
 
88 88
         foreach ($this->resources as $resource) {
89
-            (function () use ($resource) {
89
+            (function() use ($resource) {
90 90
                 require $resource;
91 91
             })->call($collect);
92 92
         }
Please login to merge, or discard this patch.
src/OpenApi/OpenApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     private function handleReferences() : void
196 196
     {
197
-        array_walk_recursive($this->documentation, function (&$value) {
197
+        array_walk_recursive($this->documentation, function(&$value) {
198 198
             if (!($value instanceof AbstractReference)) {
199 199
                 return;
200 200
             }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
             $ref = $value;
203 203
             $value = $ref->getComponentPath();
204 204
 
205
-            $component =& $this->documentation['components'][$ref->getComponentName()];
205
+            $component = & $this->documentation['components'][$ref->getComponentName()];
206 206
             if (isset($component[$ref->name])) {
207 207
                 return;
208 208
             }
Please login to merge, or discard this patch.