@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | use ConfiguratorTrait; |
26 | 26 | |
27 | 27 | /** |
28 | - * @param CommandInterface $command |
|
28 | + * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\CommandInterface $command |
|
29 | 29 | * @return bool |
30 | 30 | */ |
31 | 31 | protected function doAccept(CommandInterface $command): bool |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @param InlineConfigCommandInterface $command |
|
37 | + * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\InlineConfigCommandInterface $command |
|
38 | 38 | */ |
39 | 39 | protected function doConfigure(InlineConfigCommandInterface $command) |
40 | 40 | { |
@@ -38,12 +38,12 @@ |
||
38 | 38 | */ |
39 | 39 | protected function doConfigure(InlineConfigCommandInterface $command) |
40 | 40 | { |
41 | - if (!isset($this->config)) { |
|
41 | + if (!isset($this->config)) { |
|
42 | 42 | throw new RuntimeException(sprintf( |
43 | 43 | 'Config has not been set in &s', |
44 | 44 | __METHOD__ |
45 | 45 | )); |
46 | - } |
|
46 | + } |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 |
@@ -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 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * @param WriterInterface $writer |
33 | 33 | * @param ConfiguratorInterface|null $configurator |
34 | 34 | */ |
35 | - public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ?array $config = []) |
|
35 | + public function __construct(WriterInterface $writer, ConfiguratorInterface $configurator, ? array $config = []) |
|
36 | 36 | { |
37 | 37 | if ($config !== null) { |
38 | 38 | $configurator->setConfig($config); |