Completed
Push — master ( a26aca...911be7 )
by Julián
03:25
created
src/ImmutabilityBehaviour.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.