Passed
Push — master ( cd6f65...3614ed )
by Vladimir
02:32
created
src/common/services/DbService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @var array
40 40
      */
41
-    private $_errors = [];
41
+    private $_errors = [ ];
42 42
 
43 43
 
44 44
     /**
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function getDataProvider()
85 85
     {
86
-        $query = NewsletterClient::find()->orderBy(['created_at' => SORT_ASC]);
86
+        $query = NewsletterClient::find()->orderBy([ 'created_at' => SORT_ASC ]);
87 87
 
88 88
         return new ActiveDataProvider([
89 89
             'query' => $query,
Please login to merge, or discard this patch.
src/frontend/widgets/views/newsletter-form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
 \yii\bootstrap\BootstrapAsset::register($this);
22 22
 
23 23
 $form = ActiveForm::begin([
24
-    'action' => ['/newsletter/default/subscribe'],
25
-    'options' => ['class' => 'form-inline'],
24
+    'action' => [ '/newsletter/default/subscribe' ],
25
+    'options' => [ 'class' => 'form-inline' ],
26 26
 ]);
27 27
 
28 28
 echo $form->field($model, 'contacts')
29
-    ->textInput(['placeholder' => $model->getAttributeLabel('contacts')])
29
+    ->textInput([ 'placeholder' => $model->getAttributeLabel('contacts') ])
30 30
     ->label(false);
31 31
 
32 32
 echo Html::submitButton(Yii::t('front/newsletter', 'Subscribe'), [
Please login to merge, or discard this patch.