diff --git a/src/array_find.php b/src/array_find.php index 12e2f9f..7ab843e 100644 --- a/src/array_find.php +++ b/src/array_find.php @@ -2,7 +2,7 @@ /** * Checks whether the $callback returns TRUE for ANY of the array - * element. + * elements. * * @param array $array The array that should be searched. * @param callable $callback The callback function to call to check @@ -79,9 +79,9 @@ function array_find(array $array, callable $callback): mixed { } /** - * Returns the KEY of the first element for which the $callback - * returns TRUE. If no matching element is found the function - * returns NULL. + * Returns the KEY of the first element from $array for which the + * $callback returns TRUE. If no matching element is found the + * function returns NULL. * * @param array $array The array that should be searched. * @param callable $callback The callback function to call to check