Passed
Pull Request — master (#4)
by Pieter
02:18
created
src/ObjectAccess/FilteredObjectAccess.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         if ($this->objectAccess instanceof ObjectAccessWithNotFilterablePropertiesInterface) {
44 44
             $notFilterableProperties = array_fill_keys($this->objectAccess->getNotFilterableProperties(), 1);
45 45
         }
46
-        return array_values(array_filter($result, function (string $fieldName) use (&$notFilterableProperties) {
46
+        return array_values(array_filter($result, function(string $fieldName) use (&$notFilterableProperties) {
47 47
             return isset($this->filteredFields[$fieldName]) || isset($notFilterableProperties[$fieldName]);
48 48
         }));
49 49
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function getSetterFields(ReflectionClass $reflectionClass): array
55 55
     {
56 56
         $result = $this->objectAccess->getSetterFields($reflectionClass);
57
-        return array_values(array_filter($result, function (string $fieldName) {
57
+        return array_values(array_filter($result, function(string $fieldName) {
58 58
             return isset($this->filteredFields[$fieldName]);
59 59
         }));
60 60
     }
Please login to merge, or discard this patch.