diff --git a/mail/layouts/html.php b/mail/layouts/html.php index 8c21713..6c08395 100644 --- a/mail/layouts/html.php +++ b/mail/layouts/html.php @@ -1,10 +1,9 @@ beginPage() ?> diff --git a/views/layouts/main.php b/views/layouts/main.php index 53a9354..b9dcfb9 100644 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -5,10 +5,9 @@ use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; -/** - * @var \yii\web\View $this - * @var string $content - */ +/* @var $this \yii\web\View */ +/* @var $content string */ + AppAsset::register($this); ?> beginPage() ?> diff --git a/views/site/about.php b/views/site/about.php index 58969ab..13d85a6 100644 --- a/views/site/about.php +++ b/views/site/about.php @@ -1,9 +1,7 @@ title = 'About'; $this->params['breadcrumbs'][] = $this->title; ?> diff --git a/views/site/contact.php b/views/site/contact.php index 6d70462..eeb6f51 100644 --- a/views/site/contact.php +++ b/views/site/contact.php @@ -3,11 +3,10 @@ use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\captcha\Captcha; -/** - * @var yii\web\View $this - * @var yii\widgets\ActiveForm $form - * @var app\models\ContactForm $model - */ +/* @var $this yii\web\View */ +/* @var $form yii\widgets\ActiveForm */ +/* @var $model app\models\ContactForm */ + $this->title = 'Contact'; $this->params['breadcrumbs'][] = $this->title; ?> diff --git a/views/site/error.php b/views/site/error.php index c172fd6..b9812c4 100644 --- a/views/site/error.php +++ b/views/site/error.php @@ -2,12 +2,10 @@ use yii\helpers\Html; -/** - * @var yii\web\View $this - * @var string $name - * @var string $message - * @var Exception $exception - */ +/* @var $this yii\web\View */ +/* @var $name string */ +/* @var $message string */ +/* @var $exception Exception */ $this->title = $name; ?> diff --git a/views/site/index.php b/views/site/index.php index 6b6394e..a00ee4d 100644 --- a/views/site/index.php +++ b/views/site/index.php @@ -1,7 +1,5 @@ title = 'My Yii Application'; ?>
diff --git a/views/site/login.php b/views/site/login.php index 80cc548..df0c812 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -2,11 +2,10 @@ use yii\helpers\Html; use yii\widgets\ActiveForm; -/** - * @var yii\web\View $this - * @var yii\widgets\ActiveForm $form - * @var app\models\LoginForm $model - */ +/* @var $this yii\web\View */ +/* @var $form yii\widgets\ActiveForm */ +/* @var $model app\models\LoginForm */ + $this->title = 'Login'; $this->params['breadcrumbs'][] = $this->title; ?>