@@ -12,8 +12,7 @@ |
||
| 12 | 12 | * @package Platine\App\Param |
| 13 | 13 | * @template TEntity as Entity |
| 14 | 14 | */ |
| 15 | -class RoleParam extends BaseParam |
|
| 16 | -{ |
|
| 15 | +class RoleParam extends BaseParam { |
|
| 17 | 16 | /** |
| 18 | 17 | * The name field |
| 19 | 18 | * @var string |
@@ -39,6 +39,5 @@ |
||
| 39 | 39 | * @class ApplicationException |
| 40 | 40 | * @package Platine\App\Exception |
| 41 | 41 | */ |
| 42 | -class ApplicationException extends Exception |
|
| 43 | -{ |
|
| 42 | +class ApplicationException extends Exception { |
|
| 44 | 43 | } |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | * @class RoleAction |
| 29 | 29 | * @package Platine\App\Http\Action\Role |
| 30 | 30 | */ |
| 31 | -class RoleAction |
|
| 32 | -{ |
|
| 31 | +class RoleAction { |
|
| 33 | 32 | /** |
| 34 | 33 | * The Lang instance |
| 35 | 34 | * @var Lang |
@@ -25,8 +25,7 @@ |
||
| 25 | 25 | * @class PermissionAction |
| 26 | 26 | * @package Platine\App\Http\Action\Permission |
| 27 | 27 | */ |
| 28 | -class PermissionAction |
|
| 29 | -{ |
|
| 28 | +class PermissionAction { |
|
| 30 | 29 | /** |
| 31 | 30 | * The Lang instance |
| 32 | 31 | * @var Lang |
@@ -24,8 +24,7 @@ |
||
| 24 | 24 | * @class AuthAction |
| 25 | 25 | * @package Platine\App\Http\Action\User |
| 26 | 26 | */ |
| 27 | -class AuthAction implements RequestHandlerInterface |
|
| 28 | -{ |
|
| 27 | +class AuthAction implements RequestHandlerInterface { |
|
| 29 | 28 | /** |
| 30 | 29 | * The AuthenticationInterface instance |
| 31 | 30 | * @var AuthenticationInterface |
@@ -17,8 +17,7 @@ |
||
| 17 | 17 | * @class LogoutAction |
| 18 | 18 | * @package Platine\App\Http\Action\User |
| 19 | 19 | */ |
| 20 | -class LogoutAction implements RequestHandlerInterface |
|
| 21 | -{ |
|
| 20 | +class LogoutAction implements RequestHandlerInterface { |
|
| 22 | 21 | /** |
| 23 | 22 | * The AuthenticationInterface instance |
| 24 | 23 | * @var AuthenticationInterface |
@@ -11,8 +11,7 @@ discard block |
||
| 11 | 11 | * @class AuthParam |
| 12 | 12 | * @package Platine\App\Param |
| 13 | 13 | */ |
| 14 | -class StatusList |
|
| 15 | -{ |
|
| 14 | +class StatusList { |
|
| 16 | 15 | /** |
| 17 | 16 | * The Language instance |
| 18 | 17 | * @var Lang |
@@ -23,8 +22,7 @@ discard block |
||
| 23 | 22 | * Create new instance |
| 24 | 23 | * @param Lang $lang |
| 25 | 24 | */ |
| 26 | - public function __construct(Lang $lang) |
|
| 27 | - { |
|
| 25 | + public function __construct(Lang $lang) { |
|
| 28 | 26 | $this->lang = $lang; |
| 29 | 27 | } |
| 30 | 28 | |
@@ -8,8 +8,7 @@ |
||
| 8 | 8 | * @class UserStatus |
| 9 | 9 | * @package Platine\App\Enum |
| 10 | 10 | */ |
| 11 | -class UserStatus |
|
| 12 | -{ |
|
| 11 | +class UserStatus { |
|
| 13 | 12 | public const ACTIVE = 'A'; |
| 14 | 13 | public const LOCKED = 'D'; |
| 15 | 14 | } |
@@ -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 | } |