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
use yii\helpers\Html;
/* @var $this \yii\web\View view component instance */
/* @var $message \yii\mail\MessageInterface the message being composed */
/* @var $content string main view render result */
/** @var \yii\web\View $this view component instance */
/** @var \yii\mail\MessageInterface $message the message being composed */
/** @var string $content main view render result */
?>
<?php $this->beginPage() ?>
<!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
/* @var $this \yii\web\View */
/* @var $content string */
/** @var yii\web\View $this */
/** @var string $content */
use app\assets\AppAsset;
use app\widgets\Alert;

View File

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

View File

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

View File

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

View File

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

View File

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