@@ -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); |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | * @class HomeAction |
| 64 | 64 | * @package Platine\App\Http\Action |
| 65 | 65 | */ |
| 66 | -class HomeAction implements RequestHandlerInterface |
|
| 67 | -{ |
|
| 66 | +class HomeAction implements RequestHandlerInterface { |
|
| 68 | 67 | /** |
| 69 | 68 | * Create new instance |
| 70 | 69 | * @param Template $template |
@@ -25,8 +25,7 @@ |
||
| 25 | 25 | * @class PermissionAction |
| 26 | 26 | * @package Platine\App\Http\Action\Permission |
| 27 | 27 | */ |
| 28 | -class PermissionAction |
|
| 29 | -{ |
|
| 28 | +class PermissionAction { |
|
| 30 | 29 | /** |
| 31 | 30 | * Create new instance |
| 32 | 31 | * @param Lang $lang |