It seems like getModel() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
It seems like validateModel() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
36
if ($this->/** @scrutinizer ignore-call */ validateModel()) {
Loading history...
37
$model = $this->getModel();
38
$this->updateParametersFromPurchase($model);
39
}
40
41
return parent::parseNotification();
42
}
43
44
/**
45
* @param Gateway $model
46
*/
47
protected function updateParametersFromGateway($gateway)