@@ -15,7 +15,7 @@ |
||
15 | 15 | |
16 | 16 | public function endsWith(Name $name): bool |
17 | 17 | { |
18 | - return str_ends_with(haystack: (string) $this->name, needle: $name->removeArraySuffix()); |
|
18 | + return str_ends_with(haystack : (string) $this->name, needle : $name->removeArraySuffix()); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | public function includes(Name $name): bool |
@@ -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())), |