Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

Trait collision with Webpatser/Uuid package #944

Closed DutchPrince closed 5 years ago

DutchPrince commented 5 years ago

When i use both Uuid and Entrust in my model i get an error:

Trait method boot has not been applied, because there are collisions with other trait methods 
on App\User

this is my code:

namespace App;
use Zizaco\Entrust\Traits\EntrustUserTrait;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{

    use Uuids;
    use EntrustUserTrait;

}

How do i solve this?

Thanks in advance!