Completed
Pull Request — master (#119)
by Greg
01:41
created
src/CommandData.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * For internal use only; indicates that the function to be called
42 42
      * should be passed an InputInterface &/or an OutputInterface.
43
-     * @param booean $usesInputInterface
43
+     * @param boolean $usesInputInterface
44 44
      * @param boolean $usesOutputInterface
45 45
      * @return self
46 46
      */
@@ -151,6 +151,9 @@  discard block
 block discarded – undo
151 151
         return in_array($option, $this->specialDefaults);
152 152
     }
153 153
 
154
+    /**
155
+     * @param \Symfony\Component\Console\Input\InputDefinition $definition
156
+     */
154 157
     public function cacheSpecialDefaults($definition)
155 158
     {
156 159
         foreach ($definition->getOptions() as $option => $inputOption) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
         if ($value === true) {
137 137
             // Check if the --no-* option exists. Note that none of the other
138 138
             // alteration apply in the $value == true case, so we can exit early here.
139
-            $negation_key = 'no-' . $option;
139
+            $negation_key = 'no-'.$option;
140 140
             return array_key_exists($negation_key, $options) && $options[$negation_key];
141 141
         }
142 142
 
Please login to merge, or discard this patch.