@@ -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 |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | use ConfiguratorTrait; |
25 | 25 | |
26 | 26 | /** |
27 | - * @param CommandInterface $command |
|
27 | + * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\CommandInterface $command |
|
28 | 28 | * @return bool |
29 | 29 | */ |
30 | 30 | protected function doAccept(CommandInterface $command): bool |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * @param CommandInterface $command |
|
36 | + * @param \Tidal\PhpSpec\ConsoleExtension\Contract\Command\CommandInterface $command |
|
37 | 37 | */ |
38 | 38 | protected function doConfigure(CommandInterface $command) |
39 | 39 | { |
@@ -37,12 +37,12 @@ |
||
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 | 'Config has not been set in &s', |
43 | 43 | __METHOD__ |
44 | 44 | )); |
45 | - } |
|
45 | + } |
|
46 | 46 | } |
47 | 47 | } |
48 | 48 |
@@ -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); |