Skip to content

Commit

Permalink
update php doc arr::exists to show it also accepts float (laravel#53097)
Browse files Browse the repository at this point in the history
  • Loading branch information
schulerj89 authored and timacdonald committed Oct 15, 2024
1 parent 50038f1 commit d4e5be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static function except($array, $keys)
* Determine if the given key exists in the provided array.
*
* @param \ArrayAccess|array $array
* @param string|int $key
* @param string|int|float $key
* @return bool
*/
public static function exists($array, $key)
Expand Down

0 comments on commit d4e5be7

Please sign in to comment.