Completed
Pull Request — master (#2312)
by
unknown
07:14
created
src/Form/Field/MultipleSelect.php 1 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.