From 8f4e3bca5de94147d1361c59c55fc1437f4d47cd Mon Sep 17 00:00:00 2001 From: Paul Appleyard Date: Sun, 7 Apr 2024 14:21:15 +1000 Subject: [PATCH] Update DependentFilter.php Nova 4 compat --- src/Filters/DependentFilter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Filters/DependentFilter.php b/src/Filters/DependentFilter.php index 089845a..35d28e4 100644 --- a/src/Filters/DependentFilter.php +++ b/src/Filters/DependentFilter.php @@ -198,7 +198,7 @@ public function hideWhenEmpty($value = true) * * @return array */ - public function jsonSerialize() + public function jsonSerialize(): array { return array_merge([ 'class' => $this->key(), @@ -219,4 +219,4 @@ public static function make(...$args) { return new static(...$args); } -} \ No newline at end of file +}