mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +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');
|
* $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
|
* The result will be a multidimensional array grouped by `id`:
|
||||||
* and indexed by `data` on the third level:
|
|
||||||
*
|
*
|
||||||
* ```php
|
* ```php
|
||||||
* [
|
* [
|
||||||
|
|||||||
Reference in New Issue
Block a user