Completed
Push — master ( d2afb6...a2317a )
by Greg
03:14
created
src/Inject/ConfigForCommand.php 2 patches
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         }
53 53
     }
54 54
 
55
+    /**
56
+     * @param \Symfony\Component\Console\Input\InputInterface $input
57
+     */
55 58
     protected function injectConfigurationForGlobalOptions($input)
56 59
     {
57 60
         if (!$this->application) {
@@ -66,6 +69,10 @@  discard block
 block discarded – undo
66 69
         return $this->injectConfigGroupIntoOptions($configGroup, $options, $input);
67 70
     }
68 71
 
72
+    /**
73
+     * @param null|\Symfony\Component\Console\Command\Command $command
74
+     * @param \Symfony\Component\Console\Input\InputInterface $input
75
+     */
69 76
     protected function injectConfigurationForCommand($command, $input)
70 77
     {
71 78
         $commandName = $command->getName();
@@ -78,6 +85,9 @@  discard block
 block discarded – undo
78 85
         return $this->injectConfigGroupIntoOptions($configGroup, $options, $input);
79 86
     }
80 87
 
88
+    /**
89
+     * @param ConfigFallback $configGroup
90
+     */
81 91
     protected function injectConfigGroupIntoOptions($configGroup, $options, $input)
82 92
     {
83 93
         foreach ($options as $option => $inputOption) {
@@ -97,6 +107,10 @@  discard block
 block discarded – undo
97 107
         }
98 108
     }
99 109
 
110
+    /**
111
+     * @param null|\Symfony\Component\Console\Command\Command $command
112
+     * @param \Symfony\Component\Console\Input\InputInterface $input
113
+     */
100 114
     protected function getHelpCommandTarget($command, $input)
101 115
     {
102 116
         if (($command->getName() != 'help') || (!isset($this->application))) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Consolidation\Config\ConfigInterface;
5 5
 use Consolidation\Config\Util\ConfigFallback;
6
-
7 6
 use Symfony\Component\Console\ConsoleEvents;
8 7
 use Symfony\Component\Console\Event\ConsoleCommandEvent;
9 8
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Please login to merge, or discard this patch.