Skip to content

Commit 42173c8

Browse files
committed
add quiet methods to array check
1 parent 68ef112 commit 42173c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ public function __unset($key)
23192319
*/
23202320
public function __call($method, $parameters)
23212321
{
2322-
if (in_array($method, ['increment', 'decrement'])) {
2322+
if (in_array($method, ['increment', 'decrement', 'incrementQuietly', 'decrementQuietly'])) {
23232323
return $this->$method(...$parameters);
23242324
}
23252325

0 commit comments

Comments
 (0)