@@ -29,7 +29,7 @@ |
||
29 | 29 | return; |
30 | 30 | } |
31 | 31 | |
32 | - $autowiring = function ($name) { |
|
32 | + $autowiring = function($name) { |
|
33 | 33 | $class = new \ReflectionClass($name); |
34 | 34 | |
35 | 35 | $constructor = $class->getConstructor(); |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | { |
157 | 157 | $value = trim($value, ', '); |
158 | 158 | |
159 | - $isNumberOrBool = function (&$value) { |
|
159 | + $isNumberOrBool = function(&$value) { |
|
160 | 160 | if (is_numeric($value)) { |
161 | 161 | $value = (float) $value; |
162 | 162 | |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | return true; |
168 | 168 | } |
169 | 169 | |
170 | - $isBool = function (&$value) { |
|
170 | + $isBool = function(&$value) { |
|
171 | 171 | if (strtolower($value) == 'true') { |
172 | 172 | $value = true; |
173 | 173 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | return $isBool($value); |
187 | 187 | }; |
188 | 188 | |
189 | - $isArrayOrOther = function (&$value) { |
|
189 | + $isArrayOrOther = function(&$value) { |
|
190 | 190 | if (substr($value, 0, 1) === '[' && substr($value, -1) === ']') { |
191 | 191 | $valuesArray = explode(',', substr($value, 1, -1)); |
192 | 192 | $value = []; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | $classNames = end($matches); |
60 | 60 | |
61 | - if (!is_array($classNames)) { |
|
61 | + if (!is_array($classNames)) { |
|
62 | 62 | return; |
63 | 63 | } |
64 | 64 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | $className = end($matches); |
96 | 96 | |
97 | - if (!is_string($className)) { |
|
97 | + if (!is_string($className)) { |
|
98 | 98 | return; |
99 | 99 | } |
100 | 100 |