@@ -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 |
@@ -57,8 +57,7 @@ discard block |
||
| 57 | 57 | * @class HomeAction |
| 58 | 58 | * @package Platine\App\Http\Action |
| 59 | 59 | */ |
| 60 | -class HomeAction implements RequestHandlerInterface |
|
| 61 | -{ |
|
| 60 | +class HomeAction implements RequestHandlerInterface { |
|
| 62 | 61 | /** |
| 63 | 62 | * The template instance |
| 64 | 63 | * @var Template |
@@ -69,8 +68,7 @@ discard block |
||
| 69 | 68 | * Create new instance |
| 70 | 69 | * @param Template $template |
| 71 | 70 | */ |
| 72 | - public function __construct(Template $template) |
|
| 73 | - { |
|
| 71 | + public function __construct(Template $template) { |
|
| 74 | 72 | $this->template = $template; |
| 75 | 73 | } |
| 76 | 74 | |
@@ -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 | } |