denismitr/laravel-permissions

HasRolesAndPermissions::is(...$roles) conflicting

Closed this issue · 2 comments

I am using Laravel 5.4 and am getting the following error:

ErrorException in User.php line 12:
Declaration of Denismitr\Permissions\HasRolesAndPermissions::is(...$roles) should be compatible with Illuminate\Database\Eloquent\Model::is(Illuminate\Database\Eloquent\Model $model)

How do I fix this?

Thanks,
Bud

Use the previous release 1.1.0. This one is not ready yet, sorry!