@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | * @package Platine\App\Validator |
| 18 | 18 | * @template TEntity as \Platine\Orm\Entity |
| 19 | 19 | */ |
| 20 | -class PermissionValidator extends AbstractValidator |
|
| 21 | -{ |
|
| 20 | +class PermissionValidator extends AbstractValidator { |
|
| 22 | 21 | /** |
| 23 | 22 | * The parameter instance |
| 24 | 23 | * @var PermissionParam<TEntity> |
@@ -30,8 +29,7 @@ discard block |
||
| 30 | 29 | * @param PermissionParam<TEntity> $param |
| 31 | 30 | * @param Lang $lang |
| 32 | 31 | */ |
| 33 | - public function __construct(PermissionParam $param, Lang $lang) |
|
| 34 | - { |
|
| 32 | + public function __construct(PermissionParam $param, Lang $lang) { |
|
| 35 | 33 | parent::__construct($lang); |
| 36 | 34 | $this->param = $param; |
| 37 | 35 | } |
@@ -16,8 +16,7 @@ discard block |
||
| 16 | 16 | * @package Platine\App\Validator |
| 17 | 17 | * @template TEntity as \Platine\Orm\Entity |
| 18 | 18 | */ |
| 19 | -class RoleValidator extends AbstractValidator |
|
| 20 | -{ |
|
| 19 | +class RoleValidator extends AbstractValidator { |
|
| 21 | 20 | /** |
| 22 | 21 | * The parameter instance |
| 23 | 22 | * @var RoleParam<TEntity> |
@@ -29,8 +28,7 @@ discard block |
||
| 29 | 28 | * @param RoleParam<TEntity> $param |
| 30 | 29 | * @param Lang $lang |
| 31 | 30 | */ |
| 32 | - public function __construct(RoleParam $param, Lang $lang) |
|
| 33 | - { |
|
| 31 | + public function __construct(RoleParam $param, Lang $lang) { |
|
| 34 | 32 | parent::__construct($lang); |
| 35 | 33 | $this->param = $param; |
| 36 | 34 | } |
@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | * @package Platine\App\Validator |
| 18 | 18 | * @template TEntity as \Platine\Orm\Entity |
| 19 | 19 | */ |
| 20 | -class AuthValidator extends AbstractValidator |
|
| 21 | -{ |
|
| 20 | +class AuthValidator extends AbstractValidator { |
|
| 22 | 21 | /** |
| 23 | 22 | * The parameter instance |
| 24 | 23 | * @var AuthParam<TEntity> |
@@ -30,8 +29,7 @@ discard block |
||
| 30 | 29 | * @param AuthParam<TEntity> $param |
| 31 | 30 | * @param Lang $lang |
| 32 | 31 | */ |
| 33 | - public function __construct(AuthParam $param, Lang $lang) |
|
| 34 | - { |
|
| 32 | + public function __construct(AuthParam $param, Lang $lang) { |
|
| 35 | 33 | parent::__construct($lang); |
| 36 | 34 | $this->param = $param; |
| 37 | 35 | } |
@@ -15,8 +15,7 @@ |
||
| 15 | 15 | * @class UserServiceProvider |
| 16 | 16 | * @package Platine\App\Provider |
| 17 | 17 | */ |
| 18 | -class UserServiceProvider extends ServiceProvider |
|
| 19 | -{ |
|
| 18 | +class UserServiceProvider extends ServiceProvider { |
|
| 20 | 19 | /** |
| 21 | 20 | * {@inheritdoc} |
| 22 | 21 | */ |
@@ -55,8 +55,7 @@ |
||
| 55 | 55 | * @class ConsoleServiceProvider |
| 56 | 56 | * @package Platine\App\Provider |
| 57 | 57 | */ |
| 58 | -class ConsoleServiceProvider extends ServiceProvider |
|
| 59 | -{ |
|
| 58 | +class ConsoleServiceProvider extends ServiceProvider { |
|
| 60 | 59 | /** |
| 61 | 60 | * {@inheritdoc} |
| 62 | 61 | */ |
@@ -56,8 +56,7 @@ |
||
| 56 | 56 | * @class AppServiceProvider |
| 57 | 57 | * @package Platine\App\Provider |
| 58 | 58 | */ |
| 59 | -class AppServiceProvider extends ServiceProvider |
|
| 60 | -{ |
|
| 59 | +class AppServiceProvider extends ServiceProvider { |
|
| 61 | 60 | /** |
| 62 | 61 | * {@inheritdoc} |
| 63 | 62 | */ |
@@ -12,8 +12,7 @@ |
||
| 12 | 12 | * @package Platine\App\Param |
| 13 | 13 | * @template TEntity as Entity |
| 14 | 14 | */ |
| 15 | -class UserParam extends BaseParam |
|
| 16 | -{ |
|
| 15 | +class UserParam extends BaseParam { |
|
| 17 | 16 | /** |
| 18 | 17 | * The username field |
| 19 | 18 | * @var string |
@@ -21,8 +21,7 @@ discard block |
||
| 21 | 21 | * @package Platine\App\Validator |
| 22 | 22 | * @template TEntity as \Platine\Orm\Entity |
| 23 | 23 | */ |
| 24 | -class UserValidator extends AbstractValidator |
|
| 25 | -{ |
|
| 24 | +class UserValidator extends AbstractValidator { |
|
| 26 | 25 | /** |
| 27 | 26 | * The parameter instance |
| 28 | 27 | * @var UserParam<TEntity> |
@@ -41,8 +40,7 @@ discard block |
||
| 41 | 40 | * @param Lang $lang |
| 42 | 41 | * @param bool $ignorePassword |
| 43 | 42 | */ |
| 44 | - public function __construct(UserParam $param, Lang $lang, bool $ignorePassword = false) |
|
| 45 | - { |
|
| 43 | + public function __construct(UserParam $param, Lang $lang, bool $ignorePassword = false) { |
|
| 46 | 44 | parent::__construct($lang); |
| 47 | 45 | $this->param = $param; |
| 48 | 46 | $this->ignorePassword = $ignorePassword; |
@@ -6,8 +6,7 @@ |
||
| 6 | 6 | use Platine\Database\Schema\CreateTable; |
| 7 | 7 | use Platine\Framework\Migration\AbstractMigration; |
| 8 | 8 | |
| 9 | -class AddProductCategoriesTable20231207053927 extends AbstractMigration |
|
| 10 | -{ |
|
| 9 | +class AddProductCategoriesTable20231207053927 extends AbstractMigration { |
|
| 11 | 10 | |
| 12 | 11 | public function up(): void |
| 13 | 12 | { |