phpstan: ok at level 1

This commit is contained in:
tonis ormisson
2022-08-10 17:25:35 +03:00
parent c856eded75
commit fdac4698bd
25 changed files with 57 additions and 59 deletions

View File

@ -1,8 +1,8 @@
<?php
/**
* @var $this yii\web\View
* @var $model \Da\User\Model\Rule
* @var yii\web\View $this
* @var \Da\User\Model\Rule $model
*/
use yii\helpers\Html;

View File

@ -10,9 +10,9 @@
*/
/**
* @var yii\web\View $this
* @var \Da\User\Model\Rule $model
* @var $this yii\web\View
* @var $unassignedItems string[]
* @var string[] $unassignedItems
*/
$this->title = Yii::t('usuario', 'Create new rule');
$this->params['breadcrumbs'][] = $this->title;

View File

@ -6,9 +6,9 @@ use yii\helpers\Url;
use yii\rbac\Rule;
/**
* @var $dataProvider \yii\data\ActiveDataProvider
* @var $searchModel \Da\User\Search\RuleSearch
* @var $this yii\web\View
* @var \yii\data\ActiveDataProvider $dataProvider
* @var \Da\User\Search\RuleSearch $searchModel
* @var yii\web\View $this
*/
$this->title = Yii::t('usuario', 'Rules');

View File

@ -10,9 +10,9 @@
*/
/**
* @var yii\web\View $this
* @var \Da\User\Model\Rule $model
* @var $this yii\web\View
* @var $unassignedItems string[]
* @var string[] $unassignedItems
*/
$this->title = Yii::t('usuario', 'Update rule');
$this->params['breadcrumbs'][] = ['label' => Yii::t('usuario', 'Rules'), 'url' => ['index']];