Completed
Push — master ( 8bde3f...f8d0b5 )
by James Ekow Abaka
02:09
created
src/ArgumentParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -208,6 +208,9 @@  discard block
 block discarded – undo
208 208
         return $this->executeCommand($this->command, $this->parsedOptions);
209 209
     }
210 210
 
211
+    /**
212
+     * @return string
213
+     */
211 214
     public function getLookAheadArgument()
212 215
     {
213 216
         return $this->arguments[$this->argumentPointer + 1];
@@ -324,6 +327,9 @@  discard block
 block discarded – undo
324 327
         return $command;
325 328
     }
326 329
 
330
+    /**
331
+     * @param string $command
332
+     */
327 333
     private function stringCommandToArray($command)
328 334
     {
329 335
         return [
Please login to merge, or discard this patch.
src/HelpMessage.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * 
81 81
      * @param array $commands An array of associative arrays with infomation 
82 82
      *                        about all commands configured into ClearIce.
83
-     * @return array
83
+     * @return string[]
84 84
      */
85 85
     private function getCommandsHelp($commands)
86 86
     {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * @param string $argumentPart
185 185
      * @param string $help
186 186
      * @param integer $minSize
187
-     * @return array
187
+     * @return string
188 188
      */
189 189
     private function wrapHelp($argumentPart, &$help, $minSize = 29)
190 190
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * sring with your option and and wrapping the help message around it.
204 204
      * 
205 205
      * @param type $option
206
-     * @return string
206
+     * @return string[]
207 207
      */
208 208
     private function formatOptionHelp($option)
209 209
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      * help message for a given command around the command.
226 226
      * 
227 227
      * @param type $command
228
-     * @return string
228
+     * @return string[]
229 229
      */
230 230
     private function formatCommandHelp($command)
231 231
     {
@@ -239,6 +239,9 @@  discard block
 block discarded – undo
239 239
         return $commandHelp;
240 240
     }
241 241
     
242
+    /**
243
+     * @param string $section
244
+     */
242 245
     private function getDescriptionMessage(array $params, array &$sections, $section)
243 246
     {
244 247
         if(isset($params[$section])) {
Please login to merge, or discard this patch.