The method validatePassword() does not exist on common\interfaces\UserInterface. Since it exists in all sub-types, consider adding an abstract or default implementation to common\interfaces\UserInterface.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
51
if ($this->validate() && $this->user->/** @scrutinizer ignore-call */ validatePassword($this->password)) {
The method sendDeleteNotificationEmail() does not exist on common\interfaces\UserInterface. It seems like you code against a sub-type of common\interfaces\UserInterface such as common\models\User.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation