$this of type Cesargb\Database\Support\CascadeDelete is incompatible with the type Illuminate\Database\Eloquent\Model expected by parameter $model of Cesargb\Database\Support...:cleanResidualByModel().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
41
return (new Morph())->cleanResidualByModel(/** @scrutinizer ignore-type */ $this, $dryRun);