o need to create a Roles and Permission classes in the application #9
Annotations
10 errors
phpstan:
src/Livewire/UserComponent.php#L48
Call to an undefined static method App\Models\User::search().
|
phpstan:
src/Livewire/UserComponent.php#L51
Access to an undefined property IhabAfia\PermissionsAdmin\Livewire\UserComponent::$role.
|
phpstan:
src/Livewire/UserComponent.php#L87
Access to an undefined property App\Models\User::$name.
|
phpstan:
src/Livewire/UserComponent.php#L88
Access to an undefined property App\Models\User::$email.
|
phpstan:
src/Livewire/UserComponent.php#L89
Access to an undefined property App\Models\User::$roles.
|
phpstan:
src/Livewire/UserComponent.php#L110
Property 'email' does not exist in App\Models\User model.
|
phpstan:
src/Livewire/UserComponent.php#L110
Property 'name' does not exist in App\Models\User model.
|
phpstan:
src/Livewire/UserComponent.php#L112
Call to an undefined method App\Models\User::syncRoles().
|
phpstan:
src/Traits/HasPermissionAdmin.php (in context of class IhabAfia/PermissionsAdmin/Models/Permission)#L9
Access to an undefined property IhabAfia\PermissionsAdmin\Models\Permission::$email.
|
phpstan:
src/Traits/HasPermissionAdmin.php (in context of class IhabAfia/PermissionsAdmin/Models/Role)#L9
Access to an undefined property IhabAfia\PermissionsAdmin\Models\Role::$email.
|