Skip to content

Commit fc8e940

Browse files
authored
Merge pull request #15 from sweet-greg/master
updated ModelLock.php for Laravel 5.7 support
2 parents df2e871 + 88085a3 commit fc8e940

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ModelLock.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class ModelLock extends Model
2525
*/
2626
protected static function boot()
2727
{
28+
parent::boot();
29+
2830
static::saving(function ($lock) {
2931
if (!$lock->isDirty('locked_until')) {
3032
$lock->locked_until = $lock->lockTimestamp();

0 commit comments

Comments
 (0)