Skip to content

Commit

Permalink
add quiet methods to array check
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 18, 2023
1 parent 68ef112 commit 42173c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ public function __unset($key)
*/
public function __call($method, $parameters)
{
if (in_array($method, ['increment', 'decrement'])) {
if (in_array($method, ['increment', 'decrement', 'incrementQuietly', 'decrementQuietly'])) {
return $this->$method(...$parameters);
}

Expand Down

0 comments on commit 42173c8

Please sign in to comment.