@@ -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; |