Completed
Push — master ( 0a012c...7e54ec )
by Vojta
01:52
created
Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,14 +17,14 @@
 block discarded – undo
17 17
                 'label' => 'Reviews',
18 18
                 'url' => Backend::url('vojtasvoboda/reviews/reviews'),
19 19
                 'icon' => 'icon-star-half-o',
20
-                'permissions' => ['vojtasvoboda.reviews.*'],
20
+                'permissions' => [ 'vojtasvoboda.reviews.*' ],
21 21
                 'order' => 510,
22 22
                 'sideMenu' => [
23 23
                     'reviews' => [
24 24
                         'label' => 'Reviews',
25 25
                         'url' => Backend::url('vojtasvoboda/reviews/reviews'),
26 26
                         'icon' => 'icon-star-half-o',
27
-                        'permissions' => ['vojtasvoboda.reviews.reviews'],
27
+                        'permissions' => [ 'vojtasvoboda.reviews.reviews' ],
28 28
                         'order' => 100,
29 29
                     ],
30 30
                 ],
Please login to merge, or discard this patch.
formwidgets/StarRating.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
     public function prepareVars()
20 20
     {
21
-        $this->vars['name'] = $this->formField->getName();
22
-        $this->vars['value'] = $this->getLoadValue();
23
-        $this->vars['model'] = $this->model;
21
+        $this->vars[ 'name' ] = $this->formField->getName();
22
+        $this->vars[ 'value' ] = $this->getLoadValue();
23
+        $this->vars[ 'model' ] = $this->model;
24 24
     }
25 25
 
26 26
     public function loadAssets()
Please login to merge, or discard this patch.
models/Review.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         'email', 'name', 'title', 'rating', 'content', 'approved',
40 40
     ];
41 41
 
42
-    public $dates = ['created_at', 'updated_at', 'deleted_at'];
42
+    public $dates = [ 'created_at', 'updated_at', 'deleted_at' ];
43 43
 
44 44
     /**
45 45
      * Before create review.
Please login to merge, or discard this patch.
components/Reviews.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,12 +18,12 @@
 block discarded – undo
18 18
 
19 19
     public function defineProperties()
20 20
     {
21
-        return [];
21
+        return [ ];
22 22
     }
23 23
 
24 24
     public function onRun()
25 25
     {
26
-        $this->page['reviews'] = $this->reviews();
26
+        $this->page[ 'reviews' ] = $this->reviews();
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.