@@ -227,7 +227,7 @@ |
||
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 |
@@ -86,7 +86,7 @@ |
||
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 | } |
@@ -40,7 +40,7 @@ |
||
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 | } |
@@ -105,7 +105,7 @@ |
||
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]; |
@@ -40,7 +40,7 @@ |
||
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) { |