فهرست منبع

Fixes #3793: Changed inline autocomplete hints style to get more IDEs support

Alexander Makarov 11 سال پیش
والد
کامیت
2193366f3f
7فایلهای تغییر یافته به همراه20 افزوده شده و 30 حذف شده
  1. 3 4
      mail/layouts/html.php
  2. 3 4
      views/layouts/main.php
  3. 1 3
      views/site/about.php
  4. 4 5
      views/site/contact.php
  5. 4 6
      views/site/error.php
  6. 1 3
      views/site/index.php
  7. 4 5
      views/site/login.php

+ 3 - 4
mail/layouts/html.php

@@ -1,10 +1,9 @@
 <?php
 use yii\helpers\Html;
 
-/**
- * @var \yii\web\View $this
- * @var string $content
- */
+/* @var $this \yii\web\View */
+/* @var $content string */
+
 ?>
 <?php $this->beginPage() ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

+ 3 - 4
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);
 ?>
 <?php $this->beginPage() ?>

+ 1 - 3
views/site/about.php

@@ -1,9 +1,7 @@
 <?php
 use yii\helpers\Html;
 
-/**
- * @var yii\web\View $this
- */
+/* @var $this yii\web\View */
 $this->title = 'About';
 $this->params['breadcrumbs'][] = $this->title;
 ?>

+ 4 - 5
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;
 ?>

+ 4 - 6
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;
 ?>

+ 1 - 3
views/site/index.php

@@ -1,7 +1,5 @@
 <?php
-/**
- * @var yii\web\View $this
- */
+/* @var $this yii\web\View */
 $this->title = 'My Yii Application';
 ?>
 <div class="site-index">

+ 4 - 5
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;
 ?>