Skip to content

Commit

Permalink
Fix: save() should always accepts ['touch' => false]
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Aug 29, 2023
1 parent ebb3e88 commit a8394fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ public function updateOrCreate(array $attributes, array $values = [], array $joi
if (! $instance->wasRecentlyCreated) {
$instance->fill($values);

$instance->save(compact('touch'));
$instance->save(['touch' => false]);
}
});
}
Expand Down

0 comments on commit a8394fc

Please sign in to comment.