mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 10:08:08 +08:00
Merge pull request #20341 from MissCoraline/fix-array-helper-doc
Fix ArrayHelper::index function documentation
This commit is contained in:
@ -423,8 +423,7 @@ class BaseArrayHelper
|
||||
* $result = ArrayHelper::index($array, null, 'id');
|
||||
* ```
|
||||
*
|
||||
* The result will be a multidimensional array grouped by `id` on the first level, by `device` on the second level
|
||||
* and indexed by `data` on the third level:
|
||||
* The result will be a multidimensional array grouped by `id`:
|
||||
*
|
||||
* ```php
|
||||
* [
|
||||
|
||||
Reference in New Issue
Block a user