<?php

namespace App\Filament\Clusters\WeeklyOps\Resources\TaskCollections\Pages;

use App\Filament\Clusters\WeeklyOps\Resources\TaskCollections\TaskCollectionResource;
use App\Filament\Resources\Pages\AuditedCreateRecord;

class CreateTaskCollection extends AuditedCreateRecord
{
    protected static string $resource = TaskCollectionResource::class;

    protected function mutateFormDataBeforeCreate(array $data): array
    {
        return TaskCollectionResource::normalizeData($data);
    }
}
