Skip to content

Conversation

@axlon
Copy link
Contributor

@axlon axlon commented Oct 1, 2025

With this PR, tools like PHPStan understand that when Str::isUuid($var) equals true that means that $var must be a string.

This has been implemented for Str::isJson(...), Str::isUlid(...), Str::isUrl(...) and Str::isUuid(...)

@taylorotwell taylorotwell merged commit e5e00b6 into laravel:12.x Oct 1, 2025
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants