Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
cklei-carly authored and github-actions[bot] committed Oct 17, 2024
1 parent 90689bf commit 378b9aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/FilamentFieldGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

Expand Down Expand Up @@ -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.");
}

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

Expand Down

0 comments on commit 378b9aa

Please sign in to comment.