We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the EventManagerAwareInterface, the parameter for setEventManager method is called $eventManager while on EventManagerAwareTrait is called $events.
EventManagerAwareInterface
setEventManager
$eventManager
EventManagerAwareTrait
$events
This causes Psalm errors when using the Trait. I can open a PR to use the same variable name, but we have to decide which one to use.
Psalm triggers a ParamMismatch error when using the EventManagerAwareTrait
ParamMismatch
Affects Psalm analysis only
check this Pull Request comment
Once the parameter name remains the same, the error will disappear.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
On the
EventManagerAwareInterface
, the parameter forsetEventManager
method is called$eventManager
while onEventManagerAwareTrait
is called$events
.This causes Psalm errors when using the Trait. I can open a PR to use the same variable name, but we have to decide which one to use.
Summary
Psalm triggers a
ParamMismatch
error when using theEventManagerAwareTrait
Current behavior
Affects Psalm analysis only
How to reproduce
check this Pull Request comment
Expected behavior
Once the parameter name remains the same, the error will disappear.
The text was updated successfully, but these errors were encountered: