@@ -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 = []; |