EditNotificationEvent::getHeaderActions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace Usamamuneerchaudhary\Notifier\Filament\Resources\NotificationEventResource\Pages;
3
4
use Usamamuneerchaudhary\Notifier\Filament\Resources\NotificationEventResource;
5
use Filament\Actions;
6
use Filament\Resources\Pages\EditRecord;
7
8
class EditNotificationEvent extends EditRecord
9
{
10
    protected static string $resource = NotificationEventResource::class;
11
12
    protected function getHeaderActions(): array
13
    {
14
        return [
15
            Actions\DeleteAction::make(),
16
        ];
17
    }
18
}
19