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

@ -10,8 +10,8 @@
*/
/**
* @var $this yii\web\View
* @var $model \Da\User\Model\Role
* @var yii\web\View $this
* @var \Da\User\Model\Role $model
*/
use Da\User\Helper\AuthHelper;

View File

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

View File

@ -14,9 +14,9 @@ use yii\grid\GridView;
use yii\helpers\Url;
/**
* @var $dataProvider array
* @var $searchModel \Da\User\Search\RoleSearch
* @var $this yii\web\View
* @var \yii\data\DataProviderInterface $dataProvider
* @var \Da\User\Search\RoleSearch $searchModel
* @var yii\web\View $this
*/
$this->title = Yii::t('usuario', 'Roles');

View File

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