Passed
Push — master ( 11848a...152feb )
by nguereza
13:16 queued 12s
created
app/Http/Action/HomeAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
                                                         ->all();
160 160
 
161 161
         $context['product_amounts'] = $this->productRepository->query()
162
-                                                            ->sum(function (Expression $e) {
162
+                                                            ->sum(function(Expression $e) {
163 163
                                                                 $e->column('price')
164 164
                                                                   ->op('*')
165 165
                                                                   ->column('quantity');
Please login to merge, or discard this patch.
storage/migrations/20220109_074106_add_configuration_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function up(): void
13 13
     {
14 14
       //Action when migrate up
15
-        $this->create('configurations', function (CreateTable $table) {
15
+        $this->create('configurations', function(CreateTable $table) {
16 16
             $table->integer('id')
17 17
                     ->autoincrement()
18 18
                     ->primary();
Please login to merge, or discard this patch.
storage/migrations/20210823_152146_add_api_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public function up(): void
11 11
     {
12 12
       //Action when migrate up
13
-        $this->create('tokens', function (CreateTable $table) {
13
+        $this->create('tokens', function(CreateTable $table) {
14 14
             $table->integer('id')
15 15
                     ->autoincrement()
16 16
                     ->primary();
Please login to merge, or discard this patch.
storage/migrations/20220323_095520_add_audits_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function up(): void
13 13
     {
14 14
       //Action when migrate up
15
-        $this->create('audits', function (CreateTable $table) {
15
+        $this->create('audits', function(CreateTable $table) {
16 16
             $table->integer('id')
17 17
                   ->autoincrement()
18 18
                   ->primary();
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
     use Platine\App\Http\Action\HomeAction;
5 5
     use Platine\Route\Router;
6 6
 
7
-    return [static function (Router $router): void {
7
+    return [static function(Router $router): void {
8 8
         $router->get('/', HomeAction::class, 'home');
9 9
     }];
Please login to merge, or discard this patch.