mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user