Completed
Pull Request — master (#539)
by Delf
02:45
created
src/JMS/Serializer/Exclusion/ExclusionGroupsExclusionStrategy.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         if (is_array($metadataGroups) && empty($metadataGroups)) {
55 55
             return true;
56 56
         }
57
-        if (!empty($this->groups) && array_intersect(array_keys($this->groups), $metadataGroups)) {
57
+        if ( ! empty($this->groups) && array_intersect(array_keys($this->groups), $metadataGroups)) {
58 58
             return true;
59 59
         }
60 60
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
      * @param $metadataGroups
48 48
      * @return bool
49 49
      */
50
-    private function shouldSkipGroup($metadataGroups) {
50
+    private function shouldSkipGroup($metadataGroups)
51
+    {
51 52
         if (false === $metadataGroups) {
52 53
             return false;
53 54
         }
Please login to merge, or discard this patch.