Passed
Push — master ( adea91...ce7611 )
by Tõnis
06:13
created
views/_country-region-row.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,13 +43,16 @@
 block discarded – undo
43 43
                 'value' => !is_null($country) ? (new AddressHelper())->formatList($country->getDivisions()) : [],
44 44
             ],
45 45
         ]);?>
46
-    <?php else:?>
46
+    <?php else {
47
+    :?>
47 48
         <?= $form->field($model, 'state')->widget(Select2::class, [
48 49
             'data'=>  ArrayHelper::map((new AddressHelper())->formatList($country->getDivisions()),'id', 'name'),
49 50
             'options' => [
50 51
                 'placeholder' => $widget->placeHolders['state'],
51 52
             ],
52
-        ]);?>
53
+        ]);
54
+}
55
+?>
53 56
     <?php endif;?>
54 57
     </div>
55 58
 </div>
Please login to merge, or discard this patch.