@@ -44,6 +44,9 @@ discard block |
||
| 44 | 44 | $this->optionsMap[$command][$shortOption]['long'] : $shortOption; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string|boolean $remainder |
|
| 49 | + */ |
|
| 47 | 50 | private function getValueFromRemainder($remainder) |
| 48 | 51 | { |
| 49 | 52 | $remainder = substr($remainder, 1); |
@@ -80,6 +83,9 @@ discard block |
||
| 80 | 83 | } |
| 81 | 84 | } |
| 82 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $argument |
|
| 88 | + */ |
|
| 83 | 89 | public function parse($argument, $command) |
| 84 | 90 | { |
| 85 | 91 | $this->skippedShorts = ''; |