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