From a92716cb10c2a00c3bd32d970e8da7d6a80007c5 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Thu, 9 Apr 2026 11:17:54 +0700 Subject: [PATCH] refactor: add null safety to content link and standardize closure formatting in ContentRecapsTable --- .../Monitoring/ContentRecaps/Tables/ContentRecapsTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/Monitoring/ContentRecaps/Tables/ContentRecapsTable.php b/app/Filament/Resources/Monitoring/ContentRecaps/Tables/ContentRecapsTable.php index 491edf6..e0954f7 100644 --- a/app/Filament/Resources/Monitoring/ContentRecaps/Tables/ContentRecapsTable.php +++ b/app/Filament/Resources/Monitoring/ContentRecaps/Tables/ContentRecapsTable.php @@ -41,7 +41,7 @@ public static function configure(Table $table): Table ->searchable() ->sortable() ->wrap() - ->description(fn (ContentRecap $contentRecap): string => $contentRecap->link), + ->description(fn (ContentRecap $contentRecap): ?string => $contentRecap?->link), TextColumn::make('type') ->label('Tipe Konten')