@@ -19,8 +19,7 @@ discard block |
||
| 19 | 19 | * @package Platine\App\Validator |
| 20 | 20 | * @template TEntity as \Platine\Orm\Entity |
| 21 | 21 | */ |
| 22 | -class ProductValidator extends AbstractValidator |
|
| 23 | -{ |
|
| 22 | +class ProductValidator extends AbstractValidator { |
|
| 24 | 23 | /** |
| 25 | 24 | * The parameter instance |
| 26 | 25 | * @var ProductParam<TEntity> |
@@ -32,8 +31,7 @@ discard block |
||
| 32 | 31 | * @param ProductParam<TEntity> $param |
| 33 | 32 | * @param Lang $lang |
| 34 | 33 | */ |
| 35 | - public function __construct(ProductParam $param, Lang $lang) |
|
| 36 | - { |
|
| 34 | + public function __construct(ProductParam $param, Lang $lang) { |
|
| 37 | 35 | parent::__construct($lang); |
| 38 | 36 | $this->param = $param; |
| 39 | 37 | } |
@@ -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 | * The template instance |
| 70 | 69 | * @var Template |
@@ -54,8 +54,7 @@ discard block |
||
| 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 | * The shell instance to use |
| 61 | 60 | * @var Shell |
@@ -66,8 +65,7 @@ discard block |
||
| 66 | 65 | * Create new instance |
| 67 | 66 | * {@inheritdoc} |
| 68 | 67 | */ |
| 69 | - public function __construct(Shell $shell) |
|
| 70 | - { |
|
| 68 | + public function __construct(Shell $shell) { |
|
| 71 | 69 | parent::__construct('server', 'Command to manage PHP development server'); |
| 72 | 70 | $this->addOption('-a|--address', 'Server address', 'localhost', true); |
| 73 | 71 | $this->addOption('-p|--port', 'Server listen port', '8080', true); |
@@ -79,8 +77,7 @@ discard block |
||
| 79 | 77 | /** |
| 80 | 78 | * {@inheritdoc} |
| 81 | 79 | */ |
| 82 | - public function execute() |
|
| 83 | - { |
|
| 80 | + public function execute() { |
|
| 84 | 81 | $host = $this->getOptionValue('address'); |
| 85 | 82 | $port = $this->getOptionValue('port'); |
| 86 | 83 | $path = $this->getOptionValue('root'); |
@@ -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 | { |