EditNotificationEvent   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 4
c 1
b 0
f 1
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHeaderActions() 0 4 1
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