Browse Source

fixed `@return` tag. `dispatchShell()` returns the cli command exit code

Mirko Pagliai 9 years ago
parent
commit
54a4f086f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/Shell.php

+ 1 - 1
src/Console/Shell.php

@@ -340,7 +340,7 @@ class Shell
      *      'extra' => ['param' => 'value']
      * ]);`
      *
-     * @return mixed The return of the other shell.
+     * @return int The cli command exit code. 0 is success.
      * @link http://book.cakephp.org/3.0/en/console-and-shells.html#invoking-other-shells-from-your-shell
      */
     public function dispatchShell()