File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -343,8 +343,8 @@ public static function autoload($className)
343
343
* @see \yii\di\Container
344
344
*
345
345
* @template T
346
- * @phpstan-param class-string<T>|array{class: class-string<T>, ...}|callable(): T $type
347
- * @psalm-param class-string<T>|array{class: class-string<T>, ...}|callable(): T $type
346
+ * @phpstan-param class-string<T>|array{class?: class-string<T>, __class? : class-string<T>, ...}|callable(): T $type
347
+ * @psalm-param class-string<T>|array{class?: class-string<T>, __class? : class-string<T>, ...}|callable(): T $type
348
348
* @phpstan-return T
349
349
* @psalm-return T
350
350
*/
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Yii Framework 2 Change Log
28
28
- Enh #20514 : Add ` @property ` annotations for ` yii\console\Controller ` (max-s-lab)
29
29
- Bug #20515 : Fix ` @param ` annotations in ` BetweenColumnsCondition ` , ` InCondition ` and ` LikeCondition ` (max-s-lab)
30
30
- Bug #20516 : Fix ` @template ` annotations in ` ActiveRecord ` (max-s-lab)
31
+ - Bug #20524 : Fix PHPStan/Psalm annotations in ` Yii::createObject ` (max-s-lab)
31
32
32
33
33
34
2.0.53 June 27, 2025
You can’t perform that action at this time.
0 commit comments