docs: correct Syntax for phpDoc (#258)

Co-authored-by: githubjeka <etcoder@gmail.com>
This commit is contained in:
Evgeniy Tkachenko 2022-01-14 22:47:17 +03:00 committed by GitHub
parent 47614b78e0
commit 19f5d09c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 17 deletions

View File

@ -1,9 +1,9 @@
<?php <?php
use yii\helpers\Html; use yii\helpers\Html;
/* @var $this \yii\web\View view component instance */ /** @var \yii\web\View $this view component instance */
/* @var $message \yii\mail\MessageInterface the message being composed */ /** @var \yii\mail\MessageInterface $message the message being composed */
/* @var $content string main view render result */ /** @var string $content main view render result */
?> ?>
<?php $this->beginPage() ?> <?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

View File

@ -1,7 +1,7 @@
<?php <?php
/* @var $this \yii\web\View */ /** @var yii\web\View $this */
/* @var $content string */ /** @var string $content */
use app\assets\AppAsset; use app\assets\AppAsset;
use app\widgets\Alert; use app\widgets\Alert;

View File

@ -1,6 +1,6 @@
<?php <?php
/* @var $this yii\web\View */ /** @var yii\web\View $this */
use yii\helpers\Html; use yii\helpers\Html;

View File

@ -1,8 +1,8 @@
<?php <?php
/* @var $this yii\web\View */ /** @var yii\web\View $this */
/* @var $form yii\bootstrap4\ActiveForm */ /** @var yii\bootstrap4\ActiveForm $form */
/* @var $model app\models\ContactForm */ /** @var app\models\ContactForm $model */
use yii\bootstrap4\ActiveForm; use yii\bootstrap4\ActiveForm;
use yii\bootstrap4\Html; use yii\bootstrap4\Html;

View File

@ -1,9 +1,9 @@
<?php <?php
/* @var $this yii\web\View */ /** @var yii\web\View $this */
/* @var $name string */ /** @var string $name */
/* @var $message string */ /** @var string $message */
/* @var $exception Exception */ /** @var Exception$exception */
use yii\helpers\Html; use yii\helpers\Html;

View File

@ -1,6 +1,6 @@
<?php <?php
/* @var $this yii\web\View */ /** @var yii\web\View $this */
$this->title = 'My Yii Application'; $this->title = 'My Yii Application';
?> ?>

View File

@ -1,8 +1,8 @@
<?php <?php
/* @var $this yii\web\View */ /** @var yii\web\View $this */
/* @var $form yii\bootstrap4\ActiveForm */ /** @var yii\bootstrap4\ActiveForm $form */
/* @var $model app\models\LoginForm */ /** @var app\models\LoginForm $model */
use yii\bootstrap4\ActiveForm; use yii\bootstrap4\ActiveForm;
use yii\bootstrap4\Html; use yii\bootstrap4\Html;