@@ -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); |