@@ -19,16 +19,16 @@ discard block |
||
19 | 19 | class RoleValidator extends AbstractValidator |
20 | 20 | { |
21 | 21 | /** |
22 | - * The parameter instance |
|
23 | - * @var RoleParam<TEntity> |
|
24 | - */ |
|
22 | + * The parameter instance |
|
23 | + * @var RoleParam<TEntity> |
|
24 | + */ |
|
25 | 25 | protected RoleParam $param; |
26 | 26 | |
27 | 27 | /** |
28 | - * Create new instance |
|
29 | - * @param RoleParam<TEntity> $param |
|
30 | - * @param Lang $lang |
|
31 | - */ |
|
28 | + * Create new instance |
|
29 | + * @param RoleParam<TEntity> $param |
|
30 | + * @param Lang $lang |
|
31 | + */ |
|
32 | 32 | public function __construct(RoleParam $param, Lang $lang) |
33 | 33 | { |
34 | 34 | parent::__construct($lang); |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * {@inheritdoc} |
|
40 | - */ |
|
39 | + * {@inheritdoc} |
|
40 | + */ |
|
41 | 41 | public function setValidationData(): void |
42 | 42 | { |
43 | 43 | $this->addData('name', $this->param->getName()); |
@@ -45,8 +45,8 @@ discard block |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
48 | - * {@inheritdoc} |
|
49 | - */ |
|
48 | + * {@inheritdoc} |
|
49 | + */ |
|
50 | 50 | public function setValidationRules(): void |
51 | 51 | { |
52 | 52 | $this->addRules('name', [ |
@@ -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) { |