mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Skip incrementEach and decrementEach for Eloquent helper (#1782)
This commit is contained in:
+6
-1
@@ -101,7 +101,12 @@ class Alias
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($facade === '\Illuminate\Database\Eloquent\Model') {
|
if ($facade === '\Illuminate\Database\Eloquent\Model') {
|
||||||
$this->usedMethods = ['decrement' => true, 'increment' => true];
|
$this->usedMethods = [
|
||||||
|
'decrement' => true,
|
||||||
|
'decrementEach' => true,
|
||||||
|
'increment' => true,
|
||||||
|
'incrementEach' => true,
|
||||||
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user