Test Failed
Pull Request — master (#322)
by Максим
09:29
created
views/site/contact.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,8 @@  discard block
 block discarded – undo
31 31
             <?php endif; ?>
32 32
         </p>
33 33
 
34
-    <?php else: ?>
34
+    <?php else {
35
+    : ?>
35 36
 
36 37
         <p>
37 38
             If you have business inquiries or other questions, please fill out the following form to contact us.
@@ -41,7 +42,9 @@  discard block
 block discarded – undo
41 42
         <div class="row">
42 43
             <div class="col-lg-5">
43 44
 
44
-                <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
45
+                <?php $form = ActiveForm::begin(['id' => 'contact-form']);
46
+}
47
+?>
45 48
 
46 49
                     <?= $form->field($model, 'name')->textInput(['autofocus' => true]) ?>
47 50
 
Please login to merge, or discard this patch.
models/LoginForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function login()
61 61
     {
62 62
         if ($this->validate()) {
63
-            return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600 * 24 * 30 : 0);
63
+            return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600*24*30 : 0);
64 64
         }
65 65
         return false;
66 66
     }
Please login to merge, or discard this patch.