Skip to content

Commit 614c9fd

Browse files
author
Steven
committed
Change visibility to private
1 parent 5434919 commit 614c9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Translatable/Traits/Relationship.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function translation(): HasOne
6868
->where('locale', $this->localeOrFallback());
6969
}
7070

71-
public function localeOrFallback()
71+
private function localeOrFallback()
7272
{
7373
return $this->useFallback() && ! $this->translations()->where('locale', $this->locale())->exists()
7474
? $this->getFallbackLocale()

0 commit comments

Comments
 (0)