Skip to content
New issue

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

ParamNameMismatch #96

Closed
NorthenIrbis opened this issue Jul 22, 2022 · 2 comments
Closed

ParamNameMismatch #96

NorthenIrbis opened this issue Jul 22, 2022 · 2 comments

Comments

@NorthenIrbis
Copy link

NorthenIrbis commented Jul 22, 2022

The class Item uses a trait src/Concerns/HasRelations.php and implements an interface src/Interfaces/ItemInterface.php.
the parameters name in method setRelation of HasRelation dont match with method setRelation of ItemInterface.

You might read in https://psalm.dev/docs/running_psalm/issues/ParamNameMismatch/ about it.

I suggest to rename parameters` name in method setRelation in classes which implements ItemInterface.

@JaZo JaZo closed this as completed in d20c349 Jul 22, 2022
@JaZo
Copy link
Member

JaZo commented Jul 22, 2022

Thanks, fixed in d20c349!

@NorthenIrbis
Copy link
Author

Not at all!
Thank you too! )

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

No branches or pull requests

2 participants