Completed
Push — master ( ffdd34...061ee8 )
by Julián
02:58
created
src/ImmutabilityBehaviour.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.