mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-28 04:25:53 +08:00
Fix #20516: Fix @template annotations in ActiveRecord
This commit is contained in:
@ -26,6 +26,7 @@ Yii Framework 2 Change Log
|
||||
- Bug #20508: Fix PHPDoc, add PHPStan/Psalm annotations for `yii\web\CookieCollection::getIterator`. Add missing `@property` annotation in `yii\base\Model` (max-s-lab)
|
||||
- Bug #20513: Fix code examples in PHPDoc (max-s-lab)
|
||||
- Enh #20514: Add `@property` annotations for `yii\console\Controller` (max-s-lab)
|
||||
- Bug #20516: Fix `@template` annotations in `ActiveRecord` (max-s-lab)
|
||||
|
||||
|
||||
2.0.53 June 27, 2025
|
||||
|
||||
@ -597,7 +597,7 @@ class ActiveRecord extends BaseActiveRecord
|
||||
*
|
||||
* @return ActiveQuery
|
||||
*
|
||||
* @template T
|
||||
* @template T of self
|
||||
*
|
||||
* @phpstan-param class-string<T> $class
|
||||
* @psalm-param class-string<T> $class
|
||||
@ -615,7 +615,7 @@ class ActiveRecord extends BaseActiveRecord
|
||||
*
|
||||
* @return ActiveQuery
|
||||
*
|
||||
* @template T
|
||||
* @template T of self
|
||||
*
|
||||
* @phpstan-param class-string<T> $class
|
||||
* @psalm-param class-string<T> $class
|
||||
|
||||
Reference in New Issue
Block a user