mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-12 17:30:57 +08:00
Fix #20630: Fix @var annotations for yii\web\CompositeUrlRule::$rules and yii\web\GroupUrlRule::$rules
This commit is contained in:
@@ -65,6 +65,7 @@ Yii Framework 2 Change Log
|
|||||||
- Bug #20619: Fix `@return` annotation for `yii\db\Query::prepare()` (mspirkov)
|
- Bug #20619: Fix `@return` annotation for `yii\db\Query::prepare()` (mspirkov)
|
||||||
- Bug #20618: Fix `@var` annotation for `yii\web\Response::$acceptMimeType` (mspirkov)
|
- Bug #20618: Fix `@var` annotation for `yii\web\Response::$acceptMimeType` (mspirkov)
|
||||||
- Bug #20617: Fix `@return` annotation for `DataColumn::getDataCellValue()` (mspirkov)
|
- Bug #20617: Fix `@return` annotation for `DataColumn::getDataCellValue()` (mspirkov)
|
||||||
|
- Bug #20630: Fix `@var` annotations for `yii\web\CompositeUrlRule::$rules` and `yii\web\GroupUrlRule::$rules` (mspirkov)
|
||||||
|
|
||||||
|
|
||||||
2.0.53 June 27, 2025
|
2.0.53 June 27, 2025
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ use yii\base\BaseObject;
|
|||||||
abstract class CompositeUrlRule extends BaseObject implements UrlRuleInterface
|
abstract class CompositeUrlRule extends BaseObject implements UrlRuleInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var UrlRuleInterface[] the URL rules contained in this composite rule.
|
* @var UrlRuleInterface[]|UrlRuleInterface[][]|array[]|string[] the URL rules contained in this composite rule.
|
||||||
* This property is set in [[init()]] by the return value of [[createRules()]].
|
* This property is set in [[init()]] by the return value of [[createRules()]].
|
||||||
*/
|
*/
|
||||||
protected $rules = [];
|
protected $rules = [];
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ use yii\base\InvalidConfigException;
|
|||||||
class GroupUrlRule extends CompositeUrlRule
|
class GroupUrlRule extends CompositeUrlRule
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var array the rules contained within this composite rule. Please refer to [[UrlManager::rules]]
|
* @var UrlRuleInterface[]|array[]|string[] the rules contained within this composite rule. Please refer to [[UrlManager::rules]]
|
||||||
* for the format of this property.
|
* for the format of this property.
|
||||||
* @see prefix
|
* @see prefix
|
||||||
* @see routePrefix
|
* @see routePrefix
|
||||||
|
|||||||
Reference in New Issue
Block a user