Completed
Push — master ( e75cda...22b114 )
by Asmir
29s queued 25s
created
src/Exclusion/GroupsExclusionStrategy.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,15 +70,15 @@  discard block
 block discarded – undo
70 70
         if ($this->nestedGroups) {
71 71
             $groups = $this->getGroupsFor($navigatorContext);
72 72
 
73
-            if (!$property->groups) {
74
-                return !in_array(self::DEFAULT_GROUP, $groups);
73
+            if ( ! $property->groups) {
74
+                return ! in_array(self::DEFAULT_GROUP, $groups);
75 75
             }
76 76
 
77 77
             return $this->shouldSkipUsingGroups($property, $groups);
78 78
         } else {
79 79
 
80
-            if (!$property->groups) {
81
-                return !isset($this->groups[self::DEFAULT_GROUP]);
80
+            if ( ! $property->groups) {
81
+                return ! isset($this->groups[self::DEFAULT_GROUP]);
82 82
             }
83 83
 
84 84
             foreach ($property->groups as $group) {
@@ -107,11 +107,11 @@  discard block
 block discarded – undo
107 107
 
108 108
         $groups = $this->groups;
109 109
         foreach ($paths as $index => $path) {
110
-            if (!array_key_exists($path, $groups)) {
110
+            if ( ! array_key_exists($path, $groups)) {
111 111
                 break;
112 112
             }
113 113
 
114
-            if (!is_array($groups[$path])) {
114
+            if ( ! is_array($groups[$path])) {
115 115
                 throw new RuntimeException(sprintf('The group value for the property path "%s" should be an array, "%s" given', $index, gettype($groups[$path])));
116 116
             }
117 117
 
Please login to merge, or discard this patch.