@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** @var Param[] $params */ |
| 33 | 33 | $params = array_values(array_filter( |
| 34 | 34 | $parameterTags, |
| 35 | - static fn (TagWithType|InvalidTag $parameter) => |
|
| 35 | + static fn(TagWithType | InvalidTag $parameter) => |
|
| 36 | 36 | $parameter instanceof Param && "\${$parameter->getVariableName()}" === $parameterName |
| 37 | 37 | )); |
| 38 | 38 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | private function resolveType(?Type $type): ?TagType |
| 87 | 87 | { |
| 88 | - return match (true) { |
|
| 88 | + return match(true) { |
|
| 89 | 89 | $type === null => null, |
| 90 | 90 | $type instanceof Nullable => TagType::nullable((string) $type->getActualType()), |
| 91 | 91 | $type instanceof Compound => TagType::compound(array_map('strval', $type->getIterator()->getArrayCopy())), |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | private function fromTypedObject(Type $type): TagType |
| 97 | 97 | { |
| 98 | - if (! $type instanceof Object_) { |
|
| 98 | + if (!$type instanceof Object_) { |
|
| 99 | 99 | return TagType::named((string) $type); |
| 100 | 100 | } |
| 101 | 101 | if ($type->getFqsen() === null) { |