@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | )); |
114 | 114 | } |
115 | 115 | |
116 | - $createNewObject = function ($propertyComment, $className, $classWithNamespace) { |
|
116 | + $createNewObject = function($propertyComment, $className, $classWithNamespace) { |
|
117 | 117 | $classParameters = $this->propertyClassParameters($propertyComment, $className); |
118 | 118 | if (is_array($classParameters)) { |
119 | 119 | $values = []; |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | { |
165 | 165 | $value = trim($value, ', '); |
166 | 166 | |
167 | - $isNumberOrBool = function (&$value) { |
|
167 | + $isNumberOrBool = function(&$value) { |
|
168 | 168 | if (is_numeric($value)) { |
169 | 169 | $value = (float) $value; |
170 | 170 | |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | return true; |
176 | 176 | } |
177 | 177 | |
178 | - $isBool = function (&$value) { |
|
178 | + $isBool = function(&$value) { |
|
179 | 179 | if (strtolower($value) == 'true') { |
180 | 180 | $value = true; |
181 | 181 | |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | return $isBool($value); |
195 | 195 | }; |
196 | 196 | |
197 | - $isArrayOrOther = function (&$value) { |
|
197 | + $isArrayOrOther = function(&$value) { |
|
198 | 198 | if (substr($value, 0, 1) === '[' && substr($value, -1) === ']') { |
199 | 199 | $valuesArray = explode(',', substr($value, 1, -1)); |
200 | 200 | $value = []; |