From 378b9aa54227a71b85fc2fbd1dec7f4ce5264111 Mon Sep 17 00:00:00 2001 From: cklei-carly Date: Thu, 17 Oct 2024 08:49:47 +0000 Subject: [PATCH] Fix styling --- src/FilamentFieldGroup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FilamentFieldGroup.php b/src/FilamentFieldGroup.php index 92f8a87..0b2aedb 100644 --- a/src/FilamentFieldGroup.php +++ b/src/FilamentFieldGroup.php @@ -79,7 +79,7 @@ public function getFieldTypeOptions(): array foreach ($fieldTypes as $fieldFQCN) { - if (!in_array(FieldTypeConfig::class, class_implements($fieldFQCN))) { + if (! in_array(FieldTypeConfig::class, class_implements($fieldFQCN))) { throw new \Exception("The field type config class {$fieldFQCN} does not implement the FieldTypeConfig interface."); } @@ -167,8 +167,8 @@ public function getFieldTypeDisplayValue($name): ?string if (! $fieldTypeConfig) { return null; } - - if (!in_array(FieldTypeConfig::class, class_implements($fieldTypeConfig))) { + + if (! in_array(FieldTypeConfig::class, class_implements($fieldTypeConfig))) { throw new \Exception("The field type config class {$fieldTypeConfig} does not implement the FieldTypeConfig interface."); } @@ -186,8 +186,8 @@ public function getFieldTypeIcon($name): ?string if (! $fieldTypeConfig) { return null; } - - if (!in_array(FieldTypeConfig::class, class_implements($fieldTypeConfig))) { + + if (! in_array(FieldTypeConfig::class, class_implements($fieldTypeConfig))) { throw new \Exception("The field type config class {$fieldTypeConfig} does not implement the FieldTypeConfig interface."); }