Skip to content

Commit

Permalink
Add PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Hristov committed Aug 4, 2017
1 parent c0e2669 commit 55c6742
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CurrentTranslationLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ public function initializeTranslation(TranslatableInterface $entity, $languageOr
return false;
}

/**
* @param TranslatableInterface $translatable
* @param Language|string $languageOrLocale
* @return TranslationInterface|null
*/
public function getTranslation(TranslatableInterface $translatable, $languageOrLocale)
{
/** @var TranslationService $translationService */
Expand Down

0 comments on commit 55c6742

Please sign in to comment.