The method getLevel() does not exist on Jackal\ImageMerge\Comman...\CommandOptionInterface. It seems like you code against a sub-type of Jackal\ImageMerge\Comman...\CommandOptionInterface such as Jackal\ImageMerge\Comman...ions\LevelCommandOption.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
29
/** @scrutinizer ignore-call */
30
$level = $this->options->getLevel();
Loading history...
30
if (!$level) {
31
return $image;
32
}
33
34
$resource = $image->getResource();
35
36
// start from the top-left pixel and keep looping until we have the desired effect