From 1fb63cecb8749fde695f90e6185959326aa6025f Mon Sep 17 00:00:00 2001 From: glennjacobs Date: Thu, 22 Aug 2024 14:24:18 +0000 Subject: [PATCH] chore: fix code style --- .../admin/src/Support/Forms/Components/TranslatedText.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/admin/src/Support/Forms/Components/TranslatedText.php b/packages/admin/src/Support/Forms/Components/TranslatedText.php index 624ec8247a..4903a30909 100644 --- a/packages/admin/src/Support/Forms/Components/TranslatedText.php +++ b/packages/admin/src/Support/Forms/Components/TranslatedText.php @@ -84,7 +84,7 @@ protected function getTranslatedRichEditorComponent(string $langCode): Translate return $this->prepareTranslatedTextComponent($component); } - public function extraInputAttributes(array | Closure $attributes, bool $merge = false): static + public function extraInputAttributes(array|Closure $attributes, bool $merge = false): static { $this->mergeExtraInputAttributes = $merge; @@ -134,7 +134,7 @@ protected function prepareTranslatedTextComponent(TranslatedTextInput|Translated ->minLength($this->minLength) ->maxLength($this->maxLength); - if (!empty($this->extraInputAttributes)) { + if (! empty($this->extraInputAttributes)) { $component->extraInputAttributes($this->extraInputAttributes, $this->mergeExtraInputAttributes); } @@ -202,7 +202,7 @@ public function richtextDisableAllToolbarButtons(bool $condition = true): static return $this; } - public function richtextFileAttachmentsDirectory(string | Closure | null $name): static + public function richtextFileAttachmentsDirectory(string|Closure|null $name): static { $this->richtextFileAttachmentsDirectory = $name;