Passed
Push — master ( d25a5e...bcdfe5 )
by y
01:48
created
src/Task/CustomValues.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,11 +41,9 @@
 block discarded – undo
41 41
             if ($field['type'] === CustomField::TYPE_ENUM) {
42 42
                 $this->optionNames[$gid] = array_column($field['enum_options'], 'name', 'gid');
43 43
                 $this->data[$gid] = $field['enum_value']['gid'];
44
-            }
45
-            elseif ($field['type'] === CustomField::TYPE_TEXT) {
44
+            } elseif ($field['type'] === CustomField::TYPE_TEXT) {
46 45
                 $this->data[$gid] = $field['text_value'];
47
-            }
48
-            elseif ($field['type'] === CustomField::TYPE_NUMBER) {
46
+            } elseif ($field['type'] === CustomField::TYPE_NUMBER) {
49 47
                 $this->data[$gid] = $field['number_value'];
50 48
             }
51 49
         }
Please login to merge, or discard this patch.