@@ -20,16 +20,16 @@ discard block |
||
| 20 | 20 | class AuthValidator extends AbstractValidator |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * The parameter instance |
|
| 24 | - * @var AuthParam<TEntity> |
|
| 25 | - */ |
|
| 23 | + * The parameter instance |
|
| 24 | + * @var AuthParam<TEntity> |
|
| 25 | + */ |
|
| 26 | 26 | protected AuthParam $param; |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * Create new instance |
|
| 30 | - * @param AuthParam<TEntity> $param |
|
| 31 | - * @param Lang $lang |
|
| 32 | - */ |
|
| 29 | + * Create new instance |
|
| 30 | + * @param AuthParam<TEntity> $param |
|
| 31 | + * @param Lang $lang |
|
| 32 | + */ |
|
| 33 | 33 | public function __construct(AuthParam $param, Lang $lang) |
| 34 | 34 | { |
| 35 | 35 | parent::__construct($lang); |
@@ -37,8 +37,8 @@ discard block |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * {@inheritdoc} |
|
| 41 | - */ |
|
| 40 | + * {@inheritdoc} |
|
| 41 | + */ |
|
| 42 | 42 | public function setValidationData(): void |
| 43 | 43 | { |
| 44 | 44 | $this->addData('username', $this->param->getUsername()); |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * {@inheritdoc} |
|
| 50 | - */ |
|
| 49 | + * {@inheritdoc} |
|
| 50 | + */ |
|
| 51 | 51 | public function setValidationRules(): void |
| 52 | 52 | { |
| 53 | 53 | $this->addRules('username', [ |
@@ -18,8 +18,8 @@ discard block |
||
| 18 | 18 | class UserServiceProvider extends ServiceProvider |
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | - * {@inheritdoc} |
|
| 22 | - */ |
|
| 21 | + * {@inheritdoc} |
|
| 22 | + */ |
|
| 23 | 23 | public function register(): void |
| 24 | 24 | { |
| 25 | 25 | // User |
@@ -35,8 +35,8 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * {@inheritdoc} |
|
| 39 | - */ |
|
| 38 | + * {@inheritdoc} |
|
| 39 | + */ |
|
| 40 | 40 | public function addRoutes(Router $router): void |
| 41 | 41 | { |
| 42 | 42 | $router->group('/user', function (Router $router) { |