@@ -55,8 +55,7 @@ |
||
| 55 | 55 | * @class ConsoleServiceProvider |
| 56 | 56 | * @package Platine\App\Provider |
| 57 | 57 | */ |
| 58 | -class ConsoleServiceProvider extends ServiceProvider |
|
| 59 | -{ |
|
| 58 | +class ConsoleServiceProvider extends ServiceProvider { |
|
| 60 | 59 | /** |
| 61 | 60 | * {@inheritdoc} |
| 62 | 61 | */ |
@@ -55,8 +55,7 @@ |
||
| 55 | 55 | * @class AppServiceProvider |
| 56 | 56 | * @package Platine\App\Provider |
| 57 | 57 | */ |
| 58 | -class AppServiceProvider extends ServiceProvider |
|
| 59 | -{ |
|
| 58 | +class AppServiceProvider extends ServiceProvider { |
|
| 60 | 59 | /** |
| 61 | 60 | * {@inheritdoc} |
| 62 | 61 | */ |
@@ -54,8 +54,7 @@ discard block |
||
| 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 | * The shell instance to use |
| 61 | 60 | * @var Shell |
@@ -66,8 +65,7 @@ discard block |
||
| 66 | 65 | * Create new instance |
| 67 | 66 | * {@inheritdoc} |
| 68 | 67 | */ |
| 69 | - public function __construct(Shell $shell) |
|
| 70 | - { |
|
| 68 | + public function __construct(Shell $shell) { |
|
| 71 | 69 | parent::__construct('server', 'Command to manage PHP development server'); |
| 72 | 70 | $this->addOption('-a|--address', 'Server address', 'localhost', true); |
| 73 | 71 | $this->addOption('-p|--port', 'Server listen port', '8080', true); |
@@ -58,8 +58,7 @@ |
||
| 58 | 58 | * @class HomeAction |
| 59 | 59 | * @package Platine\App\Http\Action |
| 60 | 60 | */ |
| 61 | -class HomeAction implements RequestHandlerInterface |
|
| 62 | -{ |
|
| 61 | +class HomeAction implements RequestHandlerInterface { |
|
| 63 | 62 | /** |
| 64 | 63 | * Create new instance |
| 65 | 64 | * @param Template $template |