Passed
Push — master ( 92224a...b0c10d )
by nguereza
03:55 queued 01:47
created
storage/migrations/seeds/ProductsSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
app/Http/Action/HomeAction.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -72,33 +72,33 @@  discard block
 block discarded – undo
72 72
     protected Template $template;
73 73
 
74 74
     /**
75
-    * The ProductCategoryRepository instance
76
-    * @var ProductCategoryRepository
77
-    */
75
+     * The ProductCategoryRepository instance
76
+     * @var ProductCategoryRepository
77
+     */
78 78
     protected ProductCategoryRepository $productCategoryRepository;
79 79
 
80 80
     /**
81
-    * The ProductRepository instance
82
-    * @var ProductRepository
83
-    */
81
+     * The ProductRepository instance
82
+     * @var ProductRepository
83
+     */
84 84
     protected ProductRepository $productRepository;
85 85
 
86 86
     /**
87
-    * The RoleRepository instance
88
-    * @var RoleRepository
89
-    */
87
+     * The RoleRepository instance
88
+     * @var RoleRepository
89
+     */
90 90
     protected RoleRepository $roleRepository;
91 91
 
92 92
     /**
93
-    * The UserRepository instance
94
-    * @var UserRepository
95
-    */
93
+     * The UserRepository instance
94
+     * @var UserRepository
95
+     */
96 96
     protected UserRepository $userRepository;
97 97
 
98 98
     /**
99
-    * The StatusList instance
100
-    * @var StatusList
101
-    */
99
+     * The StatusList instance
100
+     * @var StatusList
101
+     */
102 102
     protected StatusList $statusList;
103 103
 
104 104
     /**
@@ -134,10 +134,10 @@  discard block
 block discarded – undo
134 134
         $context = [];
135 135
         $context['user_status'] = $this->statusList->getUserStatus();
136 136
         $context['total_user'] = $this->userRepository->query()
137
-                                                      ->count('id');
137
+                                                        ->count('id');
138 138
 
139 139
         $context['total_role'] = $this->roleRepository->query()
140
-                                                      ->count('id');
140
+                                                        ->count('id');
141 141
 
142 142
         $context['total_product_category'] = $this->productCategoryRepository->query()
143 143
                                                                             ->count('id');
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
         $context['product_amounts'] = $this->productRepository->query()
162 162
                                                             ->sum(function (Expression $e) {
163 163
                                                                 $e->column('price')
164
-                                                                  ->op('*')
165
-                                                                  ->column('quantity');
164
+                                                                    ->op('*')
165
+                                                                    ->column('quantity');
166 166
                                                             });
167 167
 
168 168
         return new TemplateResponse(
Please login to merge, or discard this patch.
storage/migrations/seeds/RoleUserSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
storage/migrations/seeds/RolesSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
storage/migrations/seeds/UsersSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
storage/migrations/seeds/ProductCategoriesSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
storage/migrations/seeds/RolesPermissionsSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.
storage/migrations/seeds/PermissionsSeed.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function run(): void
12 12
     {
13
-      //Action when run the seed
13
+        //Action when run the seed
14 14
       
15 15
         $data = [
16 16
     0 => [
Please login to merge, or discard this patch.