From be7a75ca1f1dd578f449596821640445c4895418 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Tue, 14 Nov 2023 15:29:06 +0000 Subject: [PATCH] Fix fieldset handling --- src/Fields/Fieldset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/Fieldset.php b/src/Fields/Fieldset.php index caf0e111aa..a89f4e8c13 100644 --- a/src/Fields/Fieldset.php +++ b/src/Fields/Fieldset.php @@ -168,7 +168,7 @@ protected function fieldImportsFieldset(array $field): bool return collect($set['fields']) ->filter(fn ($field) => $this->fieldImportsFieldset($field)) ->isNotEmpty(); - }); + })->isNotEmpty(); }) ->isNotEmpty(); }