Passed
Push — master ( 64d5a8...478504 )
by Jeff
06:44 queued 37s
created
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Providers/GlobalTemplateServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,17 +25,17 @@
 block discarded – undo
25 25
      */
26 26
     public function boot()
27 27
     {
28
-        view()->composer('layouts.admin.app', function ($view) {
28
+        view()->composer('layouts.admin.app', function($view) {
29 29
             $view->with('user', Auth::guard('admin')->user());
30 30
             $view->with('admin', $this->isAdmin(Auth::guard('admin')->user()));
31 31
         });
32 32
 
33
-        view()->composer(['layouts.front.app', 'front.categories.sidebar-category'], function ($view) {
33
+        view()->composer(['layouts.front.app', 'front.categories.sidebar-category'], function($view) {
34 34
             $view->with('categories', $this->getCategories());
35 35
             $view->with('cartCount', $this->getCartCount());
36 36
         });
37 37
 
38
-        view()->composer(['layouts.front.category-nav'], function ($view) {
38
+        view()->composer(['layouts.front.category-nav'], function($view) {
39 39
             $view->with('categories', $this->getCategories());
40 40
         });
41 41
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Front/ProductController.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
             $list = $this->productRepo->searchProduct(request()->input('q'));
40 40
         }
41 41
 
42
-        $products = $list->map(function (Product $item) {
42
+        $products = $list->map(function(Product $item) {
43 43
             return $this->transformProduct($item);
44 44
         });
45 45
 
Please login to merge, or discard this patch.