Skip to content

Conversation

Ayoub-Mabrouk
Copy link
Contributor

This change addresses PHPStan warnings about unsafe usage of new static()
by using new self() for safer instantiation of exception instances.

ew static() with
ew self() in InvalidConfig

This change addresses PHPStan warnings about unsafe usage of
ew static()
by using
ew self() for safer instantiation of exception instances
@freekmurze freekmurze merged commit d26175c into spatie:main Sep 23, 2025
1 check 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