It seems like getModelFromRequest() 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 sendError() 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
26
$this->/** @scrutinizer ignore-call */
27
sendError($item->errors['upload']);
Loading history...
27
}
28
} else {
29
$this->sendError('bad logo type');
30
}
31
}
32
33
/**
34
* @param $values
35
* @return void
36
*/
37
abstract public function setResponseValues($values);