Completed
Push — master ( e57ae0...18c749 )
by Julián
06:59
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)
@@ -219,9 +219,9 @@  discard block
 block discarded – undo
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)
Please login to merge, or discard this patch.