From 1906a3f1492c4b4b99d9f150b67cca4b697d85d7 Mon Sep 17 00:00:00 2001 From: Freek Van der Herten Date: Mon, 17 Jul 2023 20:35:53 -0400 Subject: [PATCH] cs --- src/HasTranslations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HasTranslations.php b/src/HasTranslations.php index 629b6a9..7f66746 100644 --- a/src/HasTranslations.php +++ b/src/HasTranslations.php @@ -83,7 +83,8 @@ public function getTranslation(string $key, string $locale, bool $useFallbackLoc if ($this->hasGetMutator($key)) { return $this->mutateAttribute($key, $translation); } - else if($this->hasAttributeMutator($key)){ + + if($this->hasAttributeMutator($key)){ return $this->mutateAttributeMarkedAttribute($key, $translation); }