Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function deleting(Model $model) |
||
29 | { |
||
30 | app(BlameableService::class)->setAttribute($model, 'deletedBy'); |
||
31 | |||
32 | if ($model->isDirty()) { |
||
33 | $model->silentUpdate(); |
||
1 ignored issue
–
show
|
|||
34 | } |
||
61 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.