Passed
Pull Request — master (#34)
by Anatoly
04:23
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/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.
src/OpenApi/AbstractAnnotationReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             $this->getAnnotationName()
106 106
         );
107 107
 
108
-        $this->referencedObject =& self::$cache[$key];
108
+        $this->referencedObject = & self::$cache[$key];
109 109
 
110 110
         if (isset(self::$cache[$key])) {
111 111
             return self::$cache[$key];
Please login to merge, or discard this patch.
src/OpenApi/AbstractAnnotation.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
         $fields = $this->getFields();
41 41
         $objects = [];
42 42
 
43
-        array_walk_recursive($fields, function ($value) use ($annotationReader, &$objects) {
43
+        array_walk_recursive($fields, function($value) use ($annotationReader, &$objects) {
44 44
             if ($value instanceof AbstractAnnotation) {
45 45
                 $objects = array_merge($objects, $value->getReferencedObjects($annotationReader));
46 46
             } elseif ($value instanceof AbstractAnnotationReference) {
Please login to merge, or discard this patch.