Fix #20587: Fix @var annotation for yii\rbac\Item::$ruleName

This commit is contained in:
Maksim Spirkov
2025-10-10 23:01:20 +03:00
committed by GitHub
parent 7ac94cefd6
commit e86086d56b
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ Yii Framework 2 Change Log
- Bug #20576: Fix `@var` annotation for `StringValidator::$length` (mspirkov) - Bug #20576: Fix `@var` annotation for `StringValidator::$length` (mspirkov)
- Enh #20579: Add PHPStan/Psalm annotations for `HeaderCollection::get` (mspirkov) - Enh #20579: Add PHPStan/Psalm annotations for `HeaderCollection::get` (mspirkov)
- Bug #20583: Fix return value in `Request::getServerPort` (mspirkov) - Bug #20583: Fix return value in `Request::getServerPort` (mspirkov)
- Bug #20587: Fix `@var` annotation for `yii\rbac\Item::$ruleName` (mspirkov)
- Bug #20589: Fix `@var` annotations for `yii\rbac\DbManager` properties (mspirkov) - Bug #20589: Fix `@var` annotations for `yii\rbac\DbManager` properties (mspirkov)

View File

@ -33,7 +33,7 @@ class Item extends BaseObject
*/ */
public $description; public $description;
/** /**
* @var string name of the rule associated with this item * @var string|null name of the rule associated with this item
*/ */
public $ruleName; public $ruleName;
/** /**