Add phpstan level 7(#544)

This commit is contained in:
Saeed Vaziry
2025-03-12 13:31:10 +01:00
committed by GitHub
parent c22bb1fa80
commit 493cbb0849
437 changed files with 4505 additions and 2193 deletions

View File

@ -62,9 +62,9 @@ protected function getHeaderActions(): array
->modalHeading('Delete Project')
->modalDescription('Are you sure you want to delete this project? This action will delete all associated data and cannot be undone.')
->requiresConfirmation()
->action(function (Project $record) {
->action(function (Project $record): void {
try {
app(DeleteProject::class)->delete(auth()->user(), $record);
app(DeleteProject::class)->delete($this->getUser(), $record);
Notification::make()
->success()