Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayesh committed Jun 1, 2024
1 parent 70f5b43 commit 747cf1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/array_find.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 747cf1c

Please # to comment.