You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a typing mismatch in the keySet method that causes PHPStan (our static analysis tool) to flag its usage as invalid typing, even though it works at runtime.
The docs do recommend provide the following usage examples.
Problem Description
There is a typing mismatch in the keySet method that causes PHPStan (our static analysis tool) to flag its usage as invalid typing, even though it works at runtime.
The docs do recommend provide the following usage examples.
So I am just looking for guidance here.
Specifically:
The keySet method is typed as accepting Key ...$rule.
The key method, often used with keySet, returns a ChainedValidator
This creates an issue with PHPStan because keySet expects Key objects, but key returns a ChainedValidator.
This is more a question to see where your thoughts are at with this?
The text was updated successfully, but these errors were encountered: