Completed
Push — master ( b59a3b...c22cec )
by Greg
01:26
created
src/Loader/ConfigProcessor.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,6 @@
 block discarded – undo
145 145
     /**
146 146
      * Evaluate one configuration item.
147 147
      *
148
-     * @param array $processed
149 148
      * @param array $config
150 149
      * @return array
151 150
      */
Please login to merge, or discard this patch.
src/Inject/ConfigForSetters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         foreach ($settings as $setterMethod => $args) {
29 29
             $fn = [$object, $setterMethod];
30 30
             if (is_callable($fn)) {
31
-                $result = call_user_func_array($fn, (array)$args);
31
+                $result = call_user_func_array($fn, (array) $args);
32 32
 
33 33
                 // We require that $fn must only be used with setter methods.
34 34
                 // Setter methods are required to always return $this so that
Please login to merge, or discard this patch.
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   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 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;
10 9
 use Symfony\Component\Console\Application;
11
-use Symfony\Component\Console\Input\InputOption;
12 10
 
13 11
 class ConfigForCommand implements EventSubscriberInterface
14 12
 {
Please login to merge, or discard this patch.
src/Util/ConfigOverlay.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
      * highest priority.
33 33
      *
34 34
      * If a context has already been added, its priority will not change.
35
+     * @param string $name
35 36
      */
36 37
     public function addContext($name, ConfigInterface $config)
37 38
     {
@@ -77,6 +78,9 @@  discard block
 block discarded – undo
77 78
         return isset($this->contexts[$name]);
78 79
     }
79 80
 
81
+    /**
82
+     * @param string $name
83
+     */
80 84
     public function getContext($name)
81 85
     {
82 86
         if ($this->hasContext($name)) {
@@ -158,6 +162,7 @@  discard block
 block discarded – undo
158 162
 
159 163
     /**
160 164
      * @inheritdoc
165
+     * @param string $fn
161 166
      */
162 167
     protected function unsupported($fn)
163 168
     {
Please login to merge, or discard this patch.