-
Couldn't load subscription status.
- Fork 25
Open
Description
Hi, I was just following your example to disable optimistic locking by default on a model class but a fatal error is thrown.
PHP Fatal error: App\Models\LiveClass and Reshadman\OptimisticLocking\OptimisticLocking define the same property ($lock) in the composition of App\Models\LiveClass. However, the definition differs and is considered incompatible.
I've followed you documented example:
<?php
class BlogPost extends \Illuminate\Database\Eloquent\Model
{
use \Reshadman\OptimisticLocking\OptimisticLocking;
protected $lock = false;
}Metadata
Metadata
Assignees
Labels
No labels