Skip to content

Fixes

Fixes #13

Triggered via push May 10, 2024 14:42
Status Failure
Total duration 42s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

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.