Completed
Branch master (aeeb30)
by Timo
04:02
created
src/Command/Configurator.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Contract/Command/ConfiguratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Command/GenericCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.