Skip to content

Conversation

@Ayoub-Mabrouk
Copy link
Contributor

Replace get_class() and is_subclass_of() with instanceof check. Faster and handles inheritance automatically.

Replace get_class() and is_subclass_of() with instanceof check.
Faster and handles inheritance automatically.
@freekmurze freekmurze merged commit c8ca730 into spatie:main Dec 17, 2025
11 checks passed
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants