Test Failed
Pull Request — master (#34)
by Anatoly
02:07
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/Annotation/OpenApi/AbstractReference.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
             $this->getAnnotationName()
81 81
         );
82 82
 
83
-        $this->target =& self::$cache[$key];
83
+        $this->target = & self::$cache[$key];
84 84
 
85 85
         if (isset(self::$cache[$key])) {
86 86
             return self::$cache[$key];
Please login to merge, or discard this patch.
src/Annotation/OpenApi/AbstractAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $fields = $this->getFields();
38 38
         $objects = [];
39 39
 
40
-        array_walk_recursive($fields, function ($value) use ($annotationReader, &$objects) {
40
+        array_walk_recursive($fields, function($value) use ($annotationReader, &$objects) {
41 41
             if ($value instanceof AbstractAnnotation) {
42 42
                 $objects = array_merge($objects, $value->getComponentObjects($annotationReader));
43 43
                 return;
Please login to merge, or discard this patch.
src/OpenApi/AbstractObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         $fields = $this->getFields();
42 42
 
43
-        array_walk_recursive($fields, function (&$value) {
43
+        array_walk_recursive($fields, function(&$value) {
44 44
             if ($value instanceof ObjectInterface) {
45 45
                 $value = $value->toArray();
46 46
             }
Please login to merge, or discard this patch.