@@ -12,8 +12,7 @@ |
||
12 | 12 | * @package Platine\App\Param |
13 | 13 | * @template TEntity as Entity |
14 | 14 | */ |
15 | -class PermissionParam extends BaseParam |
|
16 | -{ |
|
15 | +class PermissionParam extends BaseParam { |
|
17 | 16 | /** |
18 | 17 | * The code field |
19 | 18 | * @var string |
@@ -11,8 +11,7 @@ |
||
11 | 11 | * @package Platine\App\Param |
12 | 12 | * |
13 | 13 | */ |
14 | -class AuthParam extends BaseParam |
|
15 | -{ |
|
14 | +class AuthParam extends BaseParam { |
|
16 | 15 | /** |
17 | 16 | * The username field |
18 | 17 | * @var string |
@@ -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 |