Completed
Push — master ( b275ca...4c4c5a )
by Song
05:15 queued 02:13
created
src/Form/Field/MultipleSelect.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         }
49 49
 
50 50
         if (is_array($relations)) {
51
-            if(is_null(current($relations))){
51
+            if (is_null(current($relations))) {
52 52
                 $this->value = null;
53 53
             }
54 54
             else if (is_string(current($relations))) {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         }
71 71
 
72 72
         if (is_array($relations)) {
73
-            if(is_null(current($relations))){
73
+            if (is_null(current($relations))) {
74 74
                 $this->original = null;
75 75
             }
76 76
             else if (is_string(current($relations))) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
         if (is_array($relations)) {
51 51
             if(is_null(current($relations))){
52 52
                 $this->value = null;
53
-            }
54
-            else if (is_string(current($relations))) {
53
+            } else if (is_string(current($relations))) {
55 54
                 $this->value = $relations;
56 55
             } else {
57 56
                 foreach ($relations as $relation) {
@@ -72,8 +71,7 @@  discard block
 block discarded – undo
72 71
         if (is_array($relations)) {
73 72
             if(is_null(current($relations))){
74 73
                 $this->original = null;
75
-            }
76
-            else if (is_string(current($relations))) {
74
+            } else if (is_string(current($relations))) {
77 75
                 $this->original = $relations;
78 76
             } else {
79 77
                 foreach ($relations as $relation) {
Please login to merge, or discard this patch.