Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jul 19, 2023
1 parent a852479 commit 1906a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HasTranslations.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1906a3f

Please sign in to comment.