mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
BaseArrayHelper::index() updated PHPDoc
This commit is contained in:
@@ -331,7 +331,7 @@ class BaseArrayHelper
|
||||
* @param string|string[]|\Closure[]|null $groups the array of keys, that will be used to group the input array
|
||||
* by one or more keys. If the $key attribute or its value for the particular element is null and $groups is not
|
||||
* defined, the array element will be discarded. Otherwise, if $groups is specified, array element will be added
|
||||
* to the result array without any key.
|
||||
* to the result array without any key. This parameter is available since version 2.0.8.
|
||||
* @return array the indexed and/or grouped array
|
||||
*/
|
||||
public static function index($array, $key, $groups = [])
|
||||
|
||||
Reference in New Issue
Block a user