@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public function up(): void |
| 13 | 13 | { |
| 14 | 14 | //Action when migrate up |
| 15 | - $this->create('product_categories', function (CreateTable $table) { |
|
| 15 | + $this->create('product_categories', function(CreateTable $table) { |
|
| 16 | 16 | $table->integer('id') |
| 17 | 17 | ->autoincrement() |
| 18 | 18 | ->primary(); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function addRoutes(Router $router): void |
| 32 | 32 | { |
| 33 | - $router->group('/product', function (Router $router) { |
|
| 33 | + $router->group('/product', function(Router $router) { |
|
| 34 | 34 | $router->resource('/category', CategoryAction::class, 'product_category'); |
| 35 | 35 | }); |
| 36 | 36 | } |