@@ -54,14 +54,12 @@ |
||
| 54 | 54 | * @class ServerCommand |
| 55 | 55 | * @package Platine\App\Console\Command |
| 56 | 56 | */ |
| 57 | -class ServerCommand extends Command |
|
| 58 | -{ |
|
| 57 | +class ServerCommand extends Command { |
|
| 59 | 58 | /** |
| 60 | 59 | * Create new instance |
| 61 | 60 | * {@inheritdoc} |
| 62 | 61 | */ |
| 63 | - public function __construct(protected Shell $shell) |
|
| 64 | - { |
|
| 62 | + public function __construct(protected Shell $shell) { |
|
| 65 | 63 | parent::__construct('server', 'Command to manage PHP development server'); |
| 66 | 64 | $this->addOption('-a|--address', 'Server address', 'localhost', true); |
| 67 | 65 | $this->addOption('-p|--port', 'Server listen port', '8080', true); |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | * @class HomeAction |
| 64 | 64 | * @package Platine\App\Http\Action |
| 65 | 65 | */ |
| 66 | -class HomeAction implements RequestHandlerInterface |
|
| 67 | -{ |
|
| 66 | +class HomeAction implements RequestHandlerInterface { |
|
| 68 | 67 | /** |
| 69 | 68 | * Create new instance |
| 70 | 69 | * @param Template $template |
@@ -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 | * Create new instance |
| 32 | 31 | * @param Lang $lang |
@@ -30,8 +30,7 @@ |
||
| 30 | 30 | * @class UserAction |
| 31 | 31 | * @package Platine\App\Http\Action\User |
| 32 | 32 | */ |
| 33 | -class UserAction |
|
| 34 | -{ |
|
| 33 | +class UserAction { |
|
| 35 | 34 | /** |
| 36 | 35 | * Create new instance |
| 37 | 36 | * @param Lang $lang |
@@ -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 | * Create new instance |
| 24 | 23 | * @param AuthenticationInterface $authentication |
@@ -27,8 +27,7 @@ |
||
| 27 | 27 | * @class UserProfileAction |
| 28 | 28 | * @package Platine\App\Http\Action\User |
| 29 | 29 | */ |
| 30 | -class UserProfileAction |
|
| 31 | -{ |
|
| 30 | +class UserProfileAction { |
|
| 32 | 31 | /** |
| 33 | 32 | * Create new instance |
| 34 | 33 | * @param Lang $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 | * Create new instance |
| 31 | 30 | * @param AuthenticationInterface $authentication |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | * @class ProductAction |
| 27 | 27 | * @package Platine\App\Http\Action\Product |
| 28 | 28 | */ |
| 29 | -class ProductAction |
|
| 30 | -{ |
|
| 29 | +class ProductAction { |
|
| 31 | 30 | /** |
| 32 | 31 | * Create new instance |
| 33 | 32 | * @param Lang $lang |
@@ -25,8 +25,7 @@ |
||
| 25 | 25 | * @class CategoryAction |
| 26 | 26 | * @package Platine\App\Http\Action\Product |
| 27 | 27 | */ |
| 28 | -class CategoryAction |
|
| 29 | -{ |
|
| 28 | +class CategoryAction { |
|
| 30 | 29 | /** |
| 31 | 30 | * Create new instance |
| 32 | 31 | * @param Lang $lang |