Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Declaration of Illuminate\Database\Eloquent\Model::is #198

Open
SAIBA0011 opened this issue Oct 17, 2016 · 2 comments
Open

Declaration of Illuminate\Database\Eloquent\Model::is #198

SAIBA0011 opened this issue Oct 17, 2016 · 2 comments

Comments

@SAIBA0011
Copy link

Hi,

Tried pulling this package into L5.3 and this is the error that i am getting:
[Symfony\Component\Debug\Exception\FatalErrorException]
Declaration of Illuminate\Database\Eloquent\Model::is(Illuminate\Database\Eloquent\Model $model) must be compatible with Bican\Roles\Contracts\HasRoleAndPermission::is($role, $all = false)

i have done some research on this particular issue, however this has been resolved, i have tried those suggestions with no success.

@baoanhng
Copy link

baoanhng commented Oct 18, 2016

This package has been deprecated for 5.3 as of some conflictions with the framework. The owner is no longer active. I think you should move for another package for future sake. I'm also looking for a new one now.

If you still want to stick with the package, you may look at other forks

#185

@Ricky-rick
Copy link

We decided to update and maintain a copy of bican roles. This issue is fixed in this copy.
You can find it on packagist: https://packagist.org/packages/ultraware/roles

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants