Skip to content

Commit

Permalink
bug #378 Fix phpdoc for getTranslations (dannyvw)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.9-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | fixes #371
| License         | MIT


Commits
-------

bb28c34 Fix phpdoc for getTranslations
  • Loading branch information
Zales0123 authored Mar 14, 2022
2 parents 55c0b04 + bb28c34 commit 2949002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Component/Model/TranslatableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
interface TranslatableInterface
{
/**
* @return Collection|TranslatableInterface[]
* @return Collection|TranslationInterface[]
* @psalm-return Collection<array-key, TranslationInterface>
*/
public function getTranslations(): Collection;
Expand Down

0 comments on commit 2949002

Please sign in to comment.