We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df2e871 + 88085a3 commit fc8e940Copy full SHA for fc8e940
1 file changed
src/ModelLock.php
@@ -25,6 +25,8 @@ class ModelLock extends Model
25
*/
26
protected static function boot()
27
{
28
+ parent::boot();
29
+
30
static::saving(function ($lock) {
31
if (!$lock->isDirty('locked_until')) {
32
$lock->locked_until = $lock->lockTimestamp();
0 commit comments