@@ -12,8 +12,7 @@ |
||
12 | 12 | * @package Platine\App\Param |
13 | 13 | * @template TEntity as Entity |
14 | 14 | */ |
15 | -class ProductParam extends BaseParam |
|
16 | -{ |
|
15 | +class ProductParam extends BaseParam { |
|
17 | 16 | /** |
18 | 17 | * The name field |
19 | 18 | * @var string |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class UsersSeed20240616000005 extends AbstractSeed |
|
9 | -{ |
|
8 | +class UsersSeed20240616000005 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class PermissionsSeed20240616000000 extends AbstractSeed |
|
9 | -{ |
|
8 | +class PermissionsSeed20240616000000 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class ProductCategoriesSeed20240616000001 extends AbstractSeed |
|
9 | -{ |
|
8 | +class ProductCategoriesSeed20240616000001 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class RolesSeed20240616000003 extends AbstractSeed |
|
9 | -{ |
|
8 | +class RolesSeed20240616000003 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class RolesPermissionsSeed20240616000004 extends AbstractSeed |
|
9 | -{ |
|
8 | +class RolesPermissionsSeed20240616000004 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class ProductsSeed20240616000002 extends AbstractSeed |
|
9 | -{ |
|
8 | +class ProductsSeed20240616000002 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -5,8 +5,7 @@ |
||
5 | 5 | |
6 | 6 | use Platine\Framework\Migration\Seed\AbstractSeed; |
7 | 7 | |
8 | -class RoleUserSeed20240616000006 extends AbstractSeed |
|
9 | -{ |
|
8 | +class RoleUserSeed20240616000006 extends AbstractSeed { |
|
10 | 9 | |
11 | 10 | public function run(): void |
12 | 11 | { |
@@ -54,14 +54,12 @@ |
||
54 | 54 | * @class ServerCommand |
55 | 55 | * @package Platine\App\Console\Command |
56 | 56 | */ |
57 | -class ServerCommand extends Command |
|
58 | -{ |
|
57 | +class ServerCommand extends Command { |
|
59 | 58 | /** |
60 | 59 | * Create new instance |
61 | 60 | * {@inheritdoc} |
62 | 61 | */ |
63 | - public function __construct(protected Shell $shell) |
|
64 | - { |
|
62 | + public function __construct(protected Shell $shell) { |
|
65 | 63 | parent::__construct('server', 'Command to manage PHP development server'); |
66 | 64 | $this->addOption('-a|--address', 'Server address', 'localhost', true); |
67 | 65 | $this->addOption('-p|--port', 'Server listen port', '8080', true); |