Skip to content

Commit 69a7dbd

Browse files
authored
Revert faulty change to EnumeratesValues::ensure() doc block (#54919)
1 parent f5679ce commit 69a7dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Collections/Traits/EnumeratesValues.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public function value($key, $default = null)
342342
*
343343
* @template TEnsureOfType
344344
*
345-
* @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|scalar|'array'|'null' $type
345+
* @param class-string<TEnsureOfType>|array<array-key, class-string<TEnsureOfType>>|'string'|'int'|'float'|'bool'|'array'|'null' $type
346346
* @return static<TKey, TEnsureOfType>
347347
*
348348
* @throws \UnexpectedValueException

0 commit comments

Comments
 (0)