@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * store that does not itself depend on the annotated-command library. |
221 | 221 | * |
222 | 222 | * @param Mixed $dataStore |
223 | - * @return type |
|
223 | + * @return AnnotatedCommandFactory |
|
224 | 224 | */ |
225 | 225 | public function setDataStore($dataStore) |
226 | 226 | { |
@@ -301,6 +301,10 @@ discard block |
||
301 | 301 | return array_filter($commandInfoList, $commandSelector); |
302 | 302 | } |
303 | 303 | |
304 | + /** |
|
305 | + * @param CommandInfo $commandInfo |
|
306 | + * @param boolean $includeAllPublicMethods |
|
307 | + */ |
|
304 | 308 | public static function isCommandOrHookMethod($commandInfo, $includeAllPublicMethods) |
305 | 309 | { |
306 | 310 | return static::isHookMethod($commandInfo) || static::isCommandMethod($commandInfo, $includeAllPublicMethods); |
@@ -381,6 +385,10 @@ discard block |
||
381 | 385 | } |
382 | 386 | } |
383 | 387 | |
388 | + /** |
|
389 | + * @param string $string |
|
390 | + * @param integer $n |
|
391 | + */ |
|
384 | 392 | protected function getNthWord($string, $n, $default = '', $delimiter = ' ') |
385 | 393 | { |
386 | 394 | $words = explode($delimiter, $string); |