Skip to content

Commit

Permalink
Revert faulty change to EnumeratesValues::ensure() doc block (#54919)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored Mar 6, 2025
1 parent f5679ce commit 69a7dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Traits/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public function value($key, $default = null)
*
* @template TEnsureOfType
*
* @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|scalar|'array'|'null' $type
* @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type
* @return static<TKey, TEnsureOfType>
*
* @throws \UnexpectedValueException
Expand Down

0 comments on commit 69a7dbd

Please sign in to comment.