Skip to content

Commit

Permalink
Merge pull request #39 from Laravel-Lang/1.x
Browse files Browse the repository at this point in the history
The `translationModelName` method has been made public
  • Loading branch information
andrey-helldar authored Sep 27, 2024
2 parents f460ca8 + 8ad202a commit 7dd4578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

trait HasNames
{
protected function translationModelName(): string
public function translationModelName(): string
{
return static::class . Config::shared()->models->suffix;
}
Expand Down

0 comments on commit 7dd4578

Please sign in to comment.