Skip to content

Commit

Permalink
updating bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
janwebdev committed Apr 15, 2022
1 parent bfd6872 commit 299c20a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Model/TranslatableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Janwebdev\SFI18nBundle\Model;

use Doctrine\Common\Collections\Collection;
use Janwebdev\SFI18nBundle\Model\TranslatingInterface;
use Janwebdev\SFI18nBundle\Locale\LocaleInterface;

Expand All @@ -11,7 +12,7 @@ public function setTranslation(TranslatingInterface $translation): void;

public function addTranslation(TranslatingInterface $translation): void;

public function getTranslations(): ?TranslatingInterface;
public function getTranslations(): Collection;

public function setLocale(LocaleInterface $locale): void;
}

0 comments on commit 299c20a

Please sign in to comment.