The method hasRole() does not exist on Illuminate\Contracts\Auth\Authenticatable. It seems like you code against a sub-type of Illuminate\Contracts\Auth\Authenticatable such as Illuminate\Foundation\Auth\User.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
$this of type Thinktomorrow\Chief\Management\Nomadic is incompatible with the type Thinktomorrow\Chief\Management\Manager expected by parameter $manager of Thinktomorrow\Chief\Mana...Route::notAllowedVerb().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like indexCollection() must be provided by classes using this trait. How about adding it as abstract method to this trait?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
$this of type Thinktomorrow\Chief\Management\Nomadic is incompatible with the type Thinktomorrow\Chief\Management\Manager expected by parameter $manager of Thinktomorrow\Chief\Mana...dManagerRoute::create().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation