@@ -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 | } |
@@ -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) { |
@@ -110,7 +110,7 @@ |
||
110 | 110 | $this->getAnnotationName() |
111 | 111 | ); |
112 | 112 | |
113 | - $this->referencedObject =& self::$cache[$key]; |
|
113 | + $this->referencedObject = & self::$cache[$key]; |
|
114 | 114 | |
115 | 115 | if (isset($this->referencedObject)) { |
116 | 116 | return $this->referencedObject; |