Fixed constructor style in docs [skip ci]

This commit is contained in:
chuangyeshuo
2019-02-14 17:18:43 +08:00
committed by Alexander Makarov
parent d377c14cf1
commit 3d878d7e1e

View File

@ -98,7 +98,7 @@ class SiteController extends Controller
public function actionEntry()
{
$model = new EntryForm;
$model = new EntryForm();
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
// 验证 $model 收到的数据