EditNotificationTemplate   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
3
namespace Usamamuneerchaudhary\Notifier\Filament\Resources\NotificationTemplateResource\Pages;
4
5
use Usamamuneerchaudhary\Notifier\Filament\Resources\NotificationTemplateResource;
6
use Filament\Actions;
7
use Filament\Resources\Pages\EditRecord;
8
9
class EditNotificationTemplate extends EditRecord
10
{
11
    protected static string $resource = NotificationTemplateResource::class;
12
13
    protected function getHeaderActions(): array
14
    {
15
        return [
16
            Actions\DeleteAction::make(),
17
        ];
18
    }
19
}