Skip to content

Commit

Permalink
fix return type changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Aug 28, 2024
1 parent e6b3c13 commit 18d1328
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/Translatable/Contracts/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ public function isTranslationAttribute(string $key): bool;
*/
public function replicateWithTranslations(?array $except = null): Model;

/**
* @return self
*/
public function setDefaultLocale(?string $locale);

public function translate(?string $locale = null, bool $withFallback = false): ?Model;
Expand Down
3 changes: 0 additions & 3 deletions src/Translatable/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,6 @@ public function setAttribute($key, $value)
return parent::setAttribute($key, $value);
}

/**
* @return TranslatableContract
*/
public function setDefaultLocale(?string $locale)
{
$this->defaultLocale = $locale;
Expand Down

0 comments on commit 18d1328

Please sign in to comment.