@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | public function constructorParameters(): array |
| 65 | 65 | { |
| 66 | - $constructors = array_filter($this->methods, static fn (Method $method): bool => $method->isConstructor()); |
|
| 66 | + $constructors = array_filter($this->methods, static fn(Method $method): bool => $method->isConstructor()); |
|
| 67 | 67 | $constructor = reset($constructors); |
| 68 | 68 | |
| 69 | 69 | return $constructor === false ? [] : $constructor->parameters(); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | { |
| 79 | 79 | return \count(array_filter( |
| 80 | 80 | $this->attributes, |
| 81 | - static fn (Attribute $attribute): bool => $attribute->hasVisibility($modifier) |
|
| 81 | + static fn(Attribute $attribute): bool => $attribute->hasVisibility($modifier) |
|
| 82 | 82 | )); |
| 83 | 83 | } |
| 84 | 84 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | { |
| 92 | 92 | return \count(array_filter( |
| 93 | 93 | $this->attributes, |
| 94 | - static fn (Attribute $attribute): bool => |
|
| 94 | + static fn(Attribute $attribute): bool => |
|
| 95 | 95 | $attribute->hasTypeDeclaration() && $attribute->hasVisibility($modifier) |
| 96 | 96 | )); |
| 97 | 97 | } |
@@ -149,6 +149,6 @@ discard block |
||
| 149 | 149 | */ |
| 150 | 150 | public function isAbstract(): bool |
| 151 | 151 | { |
| 152 | - return array_filter($this->methods(), static fn (Method $method): bool => $method->isAbstract()) !== []; |
|
| 152 | + return array_filter($this->methods(), static fn(Method $method): bool => $method->isAbstract()) !== []; |
|
| 153 | 153 | } |
| 154 | 154 | } |