forked from yiisoft/yii2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request yiisoft#645 from lucianobaraglia/master
Typo fix [skip ci]
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,21 +9,21 @@ | |
use yii\console\Controller; | ||
|
||
/** | ||
* This command echos what the first argument that you have entered. | ||
* This command echoes what the first argument that you have entered. | ||
* | ||
* This command is provided as an example for you to learn how to create console commands. | ||
* | ||
* | ||
* @author Qiang Xue <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class HelloController extends Controller | ||
{ | ||
/** | ||
* This command echos what you have entered as the message. | ||
* This command echoes what you have entered as the message. | ||
* @param string $message the message to be echoed. | ||
*/ | ||
public function actionIndex($message = 'hello world') | ||
{ | ||
echo $message."\n"; | ||
} | ||
} | ||
} |