Hello,
not exactly a problem with your package but with Bouncer, but I thought it might help others.
What I am trying to do: Install a clean laravel-roles-permissions-bouncer
What I do:
I follow all the outlined steps for installation, which finishes with no errors. Then I want to update the packages, so I issue composer update
What I get:
Error Declaration of Silber\Bouncer\Database\HasRolesAndAbilities::isNot($role) should be compatible with Illuminate\Database\Eloquent\Model::isNot(Illuminate\Database\Eloquent\Model $model)
This seems due to an incompatibility between Bouncer and Laravel versions 5.4.x with x at least 31 and up (it seems), as noted in this issue
(Temporary) Solution: either change composer.json line from
"silber/bouncer": "v1.0.0-beta.2"
to
"silber/bouncer": "v1.0.0-beta.3"
OR
change composer.json line from
"laravel/framework": "5.4.*",
to
"laravel/framework": "5.4.28",
Hello, not exactly a problem with your package but with Bouncer, but I thought it might help others.
What I am trying to do: Install a clean laravel-roles-permissions-bouncer
What I do: I follow all the outlined steps for installation, which finishes with no errors. Then I want to update the packages, so I issue
composer update
What I get:
Error
Declaration of Silber\Bouncer\Database\HasRolesAndAbilities::isNot($role) should be compatible with Illuminate\Database\Eloquent\Model::isNot(Illuminate\Database\Eloquent\Model $model)
This seems due to an incompatibility between Bouncer and Laravel versions 5.4.x with x at least 31 and up (it seems), as noted in this issue
(Temporary) Solution: either change composer.json line from
"silber/bouncer": "v1.0.0-beta.2"
to"silber/bouncer": "v1.0.0-beta.3"
OR
change composer.json line from
"laravel/framework": "5.4.*",
to"laravel/framework": "5.4.28",