Skip to content

Commit c6eeca0

Browse files
authored
Add missing "nil" option to union type for Str::isUuid() $version parameter (#56557)
1 parent b034529 commit c6eeca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Str.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ public static function isUrl($value, array $protocols = [])
637637
* Determine if a given value is a valid UUID.
638638
*
639639
* @param mixed $value
640-
* @param int<0, 8>|'max'|null $version
640+
* @param int<0, 8>|'nil'|'max'|null $version
641641
* @return bool
642642
*/
643643
public static function isUuid($value, $version = null)

0 commit comments

Comments
 (0)