Passed
Push — master ( 117a3e...a62afd )
by Evgenii
05:42
created
src/components/FileInputWidget.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,9 @@
 block discarded – undo
37 37
         $this->registerTranslations();
38 38
         $this->block_id = rand(9999999, 999999999);
39 39
 
40
-        if (!$this->uploadButtonText)
41
-            $this->uploadButtonText = Yii::t('files', 'Upload');
40
+        if (!$this->uploadButtonText) {
41
+                    $this->uploadButtonText = Yii::t('files', 'Upload');
42
+        }
42 43
 
43 44
         $this->ratio = $this->model->getBehavior('files')->attributes[$this->attribute]['ratio'] ?? null;
44 45
 
Please login to merge, or discard this patch.