mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
merge from yiisoft/yii2
This commit is contained in:
@ -131,7 +131,7 @@ class BaseArrayHelper
|
||||
$res[$k] = $v;
|
||||
}
|
||||
} elseif (is_array($v) && isset($res[$k]) && is_array($res[$k])) {
|
||||
$res[$k] = self::merge($res[$k], $v);
|
||||
$res[$k] = static::merge($res[$k], $v);
|
||||
} else {
|
||||
$res[$k] = $v;
|
||||
}
|
||||
@ -509,7 +509,7 @@ class BaseArrayHelper
|
||||
* ```
|
||||
*
|
||||
* @param array $array
|
||||
* @param string|\Closure $name
|
||||
* @param int|string|\Closure $name
|
||||
* @param bool $keepKeys whether to maintain the array keys. If false, the resulting array
|
||||
* will be re-indexed with integers.
|
||||
* @return array the list of column values
|
||||
|
||||
Reference in New Issue
Block a user