@@ -55,8 +55,7 @@ discard block |
||
| 55 | 55 | * @package Platine\Framework\Http\Maintenance\Driver |
| 56 | 56 | * @template T |
| 57 | 57 | */ |
| 58 | -class FileMaintenanceDriver implements MaintenanceDriverInterface |
|
| 59 | -{ |
|
| 58 | +class FileMaintenanceDriver implements MaintenanceDriverInterface { |
|
| 60 | 59 | /** |
| 61 | 60 | * The application configuration |
| 62 | 61 | * @var Config<T> |
@@ -74,8 +73,7 @@ discard block |
||
| 74 | 73 | * @param Config<T> $config |
| 75 | 74 | * @param Filesystem $filesystem |
| 76 | 75 | */ |
| 77 | - public function __construct(Config $config, Filesystem $filesystem) |
|
| 78 | - { |
|
| 76 | + public function __construct(Config $config, Filesystem $filesystem) { |
|
| 79 | 77 | $this->config = $config; |
| 80 | 78 | $this->filesystem = $filesystem; |
| 81 | 79 | } |
@@ -51,8 +51,7 @@ |
||
| 51 | 51 | * @class MaintenanceDriverInterface |
| 52 | 52 | * @package Platine\Framework\Http\Maintenance |
| 53 | 53 | */ |
| 54 | -interface MaintenanceDriverInterface |
|
| 55 | -{ |
|
| 54 | +interface MaintenanceDriverInterface { |
|
| 56 | 55 | /** |
| 57 | 56 | * Whether the maintenance is active or not |
| 58 | 57 | * @return bool |
@@ -58,8 +58,7 @@ discard block |
||
| 58 | 58 | * @package Platine\Framework\Console\Command |
| 59 | 59 | * @template T |
| 60 | 60 | */ |
| 61 | -class MaintenanceCommand extends Command |
|
| 62 | -{ |
|
| 61 | +class MaintenanceCommand extends Command { |
|
| 63 | 62 | /** |
| 64 | 63 | * The configuration to use |
| 65 | 64 | * @var Config<T> |
@@ -173,8 +172,7 @@ discard block |
||
| 173 | 172 | /** |
| 174 | 173 | * {@inheritdoc} |
| 175 | 174 | */ |
| 176 | - public function execute() |
|
| 177 | - { |
|
| 175 | + public function execute() { |
|
| 178 | 176 | $type = $this->getArgumentValue('type'); |
| 179 | 177 | |
| 180 | 178 | $io = $this->io(); |