Skip to content

Commit

Permalink
docs: add @Used-By
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 31, 2023
1 parent 629a1c1 commit 15f7804
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/Helpers/Array/ArrayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ final class ArrayHelper
* Searches an array through dot syntax. Supports
* wildcard searches, like foo.*.bar
*
* @used-by dot_array_search()
*
* @return array|bool|int|object|string|null
*/
public static function dotSearch(string $index, array $array)
Expand Down Expand Up @@ -101,6 +103,8 @@ private static function arraySearchDot(array $indexes, array $array)
/**
* Groups all rows by their index values. Result's depth equals number of indexes
*
* @used-by array_group_by()
*
* @param array $array Data array (i.e. from query result)
* @param array $indexes Indexes to group by. Dot syntax used. Returns $array if empty
* @param bool $includeEmpty If true, null and '' are also added as valid keys to group
Expand Down

0 comments on commit 15f7804

Please sign in to comment.