Typo fix [skip ci]
This commit is contained in:
parent
9a112ee029
commit
4f2e9c0502
@ -9,21 +9,21 @@ namespace app\commands;
|
||||
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 <qiang.xue@gmail.com>
|
||||
* @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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user