@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param CommandInterface $command |
| 25 | 25 | * @return bool |
| 26 | 26 | */ |
| 27 | - public function accept(CommandInterface $command) : bool ; |
|
| 27 | + public function accept(CommandInterface $command) : bool; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param array $config |
@@ -21,10 +21,10 @@ |
||
| 21 | 21 | { |
| 22 | 22 | use ConfiguratorTrait; |
| 23 | 23 | |
| 24 | - /** |
|
| 25 | - * @param CommandInterface $command |
|
| 26 | - * @return bool |
|
| 27 | - */ |
|
| 24 | + /** |
|
| 25 | + * @param CommandInterface $command |
|
| 26 | + * @return bool |
|
| 27 | + */ |
|
| 28 | 28 | protected function doAccept(CommandInterface $command): bool |
| 29 | 29 | { |
| 30 | 30 | return $command instanceof InlineConfigCommandInterface; |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * @param ConfiguratorInterface $configurator |
| 34 | 34 | * @param array|null $config |
| 35 | 35 | */ |
| 36 | - public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = []) |
|
| 36 | + public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = []) |
|
| 37 | 37 | { |
| 38 | 38 | if ($config !== null) { |
| 39 | 39 | $configurator->setConfig($config); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * @param ConfiguratorInterface $configurator |
| 34 | 34 | * @param array|null $config |
| 35 | 35 | */ |
| 36 | - public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = []) |
|
| 36 | + public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = []) |
|
| 37 | 37 | { |
| 38 | 38 | if ($config !== null) { |
| 39 | 39 | $configurator->setConfig($config); |
@@ -37,13 +37,13 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | protected function doConfigure(CommandInterface $command) |
| 39 | 39 | { |
| 40 | - if (!isset($this->config)) { |
|
| 40 | + if (!isset($this->config)) { |
|
| 41 | 41 | throw new RuntimeException(sprintf( |
| 42 | 42 | "Cannot run command '%s'. Config has not been set in &s", |
| 43 | 43 | $command->getName(), |
| 44 | 44 | __METHOD__ |
| 45 | 45 | )); |
| 46 | - } |
|
| 46 | + } |
|
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | |