@@ -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) |
@@ -219,9 +219,9 @@ discard block |
||
219 | 219 | ))); |
220 | 220 | $allowedPublicMethods = \array_merge( |
221 | 221 | ...\array_map( |
222 | - function (string $interface): array { |
|
222 | + function(string $interface): array { |
|
223 | 223 | return \array_map( |
224 | - function (\ReflectionMethod $method): string { |
|
224 | + function(\ReflectionMethod $method): string { |
|
225 | 225 | return !$method->isStatic() ? $method->getName() : ''; |
226 | 226 | }, |
227 | 227 | (new \ReflectionClass($interface))->getMethods(\ReflectionMethod::IS_PUBLIC) |