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(); }