@@ -148,7 +148,9 @@ |
||
148 | 148 | } |
149 | 149 | } |
150 | 150 | |
151 | - if ($quoteString === null) $quoteString = true; |
|
151 | + if ($quoteString === null) { |
|
152 | + $quoteString = true; |
|
153 | + } |
|
152 | 154 | break; |
153 | 155 | |
154 | 156 | case 'boolean': |
@@ -310,9 +310,7 @@ |
||
310 | 310 | $parameterType = $this->parameterNode->type; |
311 | 311 | if ($parameterType instanceof NullableType) { |
312 | 312 | $parameterType = $parameterType->type; |
313 | - } |
|
314 | - |
|
315 | - elseif ($parameterType instanceof UnionType) { |
|
313 | + } elseif ($parameterType instanceof UnionType) { |
|
316 | 314 | $types = []; |
317 | 315 | foreach ($parameterType->types as $type) { |
318 | 316 | $types[] = $this->resolveReflectionNamedType($type); |
@@ -233,9 +233,7 @@ |
||
233 | 233 | return [$classLevelNode, $classProperty, null]; |
234 | 234 | } |
235 | 235 | } |
236 | - } |
|
237 | - |
|
238 | - else if ($classLevelNode instanceof ClassMethod |
|
236 | + } else if ($classLevelNode instanceof ClassMethod |
|
239 | 237 | && $classLevelNode->name->toString() === '__construct' |
240 | 238 | ) { |
241 | 239 | foreach ($classLevelNode->getParams() as $param) { |