@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | private function getClassPublicMethods(): array |
194 | 194 | { |
195 | 195 | $publicMethods = \array_filter(\array_map( |
196 | - function (\ReflectionMethod $method): string { |
|
196 | + function(\ReflectionMethod $method): string { |
|
197 | 197 | return !$method->isStatic() ? $method->getName() : ''; |
198 | 198 | }, |
199 | 199 | (new \ReflectionObject($this))->getMethods(\ReflectionMethod::IS_PUBLIC) |
@@ -218,9 +218,9 @@ discard block |
||
218 | 218 | $allowedPublicMethods = \array_unique(\array_filter(\array_merge( |
219 | 219 | static::$allowedMagicMethods, |
220 | 220 | ...\array_map( |
221 | - function (string $interface): array { |
|
221 | + function(string $interface): array { |
|
222 | 222 | return \array_map( |
223 | - function (\ReflectionMethod $method): string { |
|
223 | + function(\ReflectionMethod $method): string { |
|
224 | 224 | return !$method->isStatic() ? $method->getName() : ''; |
225 | 225 | }, |
226 | 226 | (new \ReflectionClass($interface))->getMethods(\ReflectionMethod::IS_PUBLIC) |