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."); }