Skip to content

Commit 15f7804

Browse files
committed
docs: add @Used-By
1 parent 629a1c1 commit 15f7804

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system/Helpers/Array/ArrayHelper.php

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ final class ArrayHelper
2020
* Searches an array through dot syntax. Supports
2121
* wildcard searches, like foo.*.bar
2222
*
23+
* @used-by dot_array_search()
24+
*
2325
* @return array|bool|int|object|string|null
2426
*/
2527
public static function dotSearch(string $index, array $array)
@@ -101,6 +103,8 @@ private static function arraySearchDot(array $indexes, array $array)
101103
/**
102104
* Groups all rows by their index values. Result's depth equals number of indexes
103105
*
106+
* @used-by array_group_by()
107+
*
104108
* @param array $array Data array (i.e. from query result)
105109
* @param array $indexes Indexes to group by. Dot syntax used. Returns $array if empty
106110
* @param bool $includeEmpty If true, null and '' are also added as valid keys to group

0 commit comments

Comments
 (0)