From 15f78042b1160d1be53084c5883e14f2c7aae8f6 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 31 Oct 2023 13:22:48 +0900 Subject: [PATCH] docs: add @used-by --- system/Helpers/Array/ArrayHelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/Helpers/Array/ArrayHelper.php b/system/Helpers/Array/ArrayHelper.php index 2a1a46385723..05aa6a112347 100644 --- a/system/Helpers/Array/ArrayHelper.php +++ b/system/Helpers/Array/ArrayHelper.php @@ -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) @@ -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