Skip to content

Commit 4e0a39a

Browse files
committed
Code readability
1 parent d5d624e commit 4e0a39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Observers/EntryObserver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function saving(Model $model)
4040
public function saved(Model $model)
4141
{
4242
// @phpstan-ignore-next-line
43-
if (! $model->isDirty($model->entryFieldName()) && ! $model->isDirty($model->tooltipFieldName())) {
43+
if ($model->isClean([$model->entryFieldName(), $model->tooltipFieldName()])) {
4444
return;
4545
}
4646
if (method_exists($model, 'mentions')) {

0 commit comments

Comments
 (0)