Completed
Branch master (31d995)
by Nate
09:29
created
app/Http/ViewComposers/BannerComposer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param View $view
26
-     * @return $this
26
+     * @return View|null
27 27
      */
28 28
     public function compose(View $view)
29 29
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         // Here template names is hardcoded, but here is easy to edit them, then go to templates and change variables there
31 31
 
32
-        switch ($view->getName()){
32
+        switch ($view->getName()) {
33 33
             case "partials.banners.small":
34 34
                 return $view->with('banners', $this->banners->getSmallAdBlocks(2));
35 35
                 break;
Please login to merge, or discard this patch.
app/Repositories/BannerRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Get ad-blocks for extended banners block.
19 19
      *
20
-     * @param $count
20
+     * @param integer $count
21 21
      * @return mixed
22 22
      */
23 23
     public function getBigAdBlocks($count = null)
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Get small adblocks for homepage.
34 34
      *
35
-     * @param null $count
35
+     * @param integer $count
36 36
      * @return mixed
37 37
      */
38 38
     public function getSmallAdBlocks($count = null)
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Get adblocks for right sidebar of homepage.
49 49
      *
50
-     * @param null $count
50
+     * @param integer $count
51 51
      * @return mixed
52 52
      */
53 53
     public function getRightSideBarAdBlocks($count = null)
Please login to merge, or discard this patch.
app/Partner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * @var array
18 18
      */
19
-    protected $fillable = ['name', 'link', 'active', 'rank'];
19
+    protected $fillable = [ 'name', 'link', 'active', 'rank' ];
20 20
 
21 21
     /**
22 22
      * @var bool
Please login to merge, or discard this patch.
app/Social.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @var array
19 19
      */
20
-    protected $fillable = ['key', 'link'];
20
+    protected $fillable = [ 'key', 'link' ];
21 21
 
22 22
     /**
23 23
      * @var bool
Please login to merge, or discard this patch.
app/Banner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @var array
19 19
      */
20
-    protected $fillable = ['link', 'image_url', 'rank', 'active'];
20
+    protected $fillable = [ 'link', 'image_url', 'rank', 'active' ];
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
app/PostTranslation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class PostTranslation extends Model
8 8
 {
9
-    protected $fillable = ['*'];
9
+    protected $fillable = [ '*' ];
10 10
 
11 11
     public $timestamps = false;
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
app/Post.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     use HasTranslations;
11 11
 
12
-    protected $fillable = ['*'];
12
+    protected $fillable = [ '*' ];
13 13
 
14
-    public $translatedAttributes = ['name'];
14
+    public $translatedAttributes = [ 'name' ];
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
app/UserProducts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * @var array
16 16
      */
17
-    protected $fillable = ['user_id', 'product_id', 'seller_id'];
17
+    protected $fillable = [ 'user_id', 'product_id', 'seller_id' ];
18 18
 
19 19
     /**
20 20
      * @var bool
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $router->group([
56 56
             'namespace' => $this->namespace, 'middleware' => 'web',
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
             require app_path('Http/routes.php');
59 59
         });
60 60
     }
Please login to merge, or discard this patch.