First Release. #12
Annotations
10 errors
phpstan:
src/Livewire/PermissionComponent.php#L39
Property IhabAfia\PermissionsAdmin\Livewire\PermissionComponent::$selectedPermission has unknown class App\Models\Permission as its type.
|
phpstan:
src/Livewire/PermissionComponent.php#L43
Call to static method where() on an unknown class App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L49
Call to static method searchPermissions() on an unknown class App\Models\Permission.
|
phpstan:
src/Livewire/PermissionComponent.php#L90
Call to static method create() on an unknown class App\Models\Permission.
|
phpstan:
src/Livewire/PermissionComponent.php#L104
Parameter $role of method IhabAfia\PermissionsAdmin\Livewire\PermissionComponent::updateRole() has invalid type App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L106
Access to property $name on an unknown class App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L107
Access to property $id on an unknown class App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L109
Access to property $id on an unknown class App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L109
Access to property $name on an unknown class App\Models\Role.
|
phpstan:
src/Livewire/PermissionComponent.php#L113
Parameter $permission of method IhabAfia\PermissionsAdmin\Livewire\PermissionComponent::editPermission() has invalid type App\Models\Permission.
|