Closed NorthenIrbis closed 2 years ago
The class Item uses a trait src/Concerns/HasRelations.php and implements an interface src/Interfaces/ItemInterface.php. the parametersname in method setRelation of HasRelation dont match with method setRelation of ItemInterface.
name in method setRelation of HasRelation don
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.
Thanks, fixed in d20c349!
Not at all! Thank you too! )
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 don
t 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.