@@ -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 |
@@ -30,8 +30,7 @@ |
||
| 30 | 30 | * @class UserAction |
| 31 | 31 | * @package Platine\App\Http\Action\User |
| 32 | 32 | */ |
| 33 | -class UserAction |
|
| 34 | -{ |
|
| 33 | +class UserAction { |
|
| 35 | 34 | /** |
| 36 | 35 | * The Lang instance |
| 37 | 36 | * @var Lang |
@@ -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; |
@@ -27,8 +27,7 @@ |
||
| 27 | 27 | * @class UserProfileAction |
| 28 | 28 | * @package Platine\App\Http\Action\User |
| 29 | 29 | */ |
| 30 | -class UserProfileAction |
|
| 31 | -{ |
|
| 30 | +class UserProfileAction { |
|
| 32 | 31 | /** |
| 33 | 32 | * The Lang instance |
| 34 | 33 | * @var Lang |
@@ -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 | { |