File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <psalm
3+ errorLevel =" 5"
4+ resolveFromConfigFile =" true"
5+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6+ xmlns =" https://getpsalm.org/schema/config"
7+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8+ >
9+ <projectFiles >
10+ <directory name =" src" />
11+ <ignoreFiles >
12+ <directory name =" vendor" />
13+ </ignoreFiles >
14+ </projectFiles >
15+ </psalm >
Original file line number Diff line number Diff line change 33namespace Creative \DbI18nBundle \Repository ;
44
55use Creative \DbI18nBundle \Entity \Translation ;
6+ use Creative \DbI18nBundle \Interfaces \EntityInterface ;
67use Creative \DbI18nBundle \Interfaces \TranslationRepositoryInterface ;
78use Doctrine \Bundle \DoctrineBundle \Repository \ServiceEntityRepository ;
89use Doctrine \Common \Collections \ArrayCollection ;
10+ use Doctrine \Common \Collections \Collection ;
911use Doctrine \Persistence \ManagerRegistry ;
1012
1113/**
@@ -30,7 +32,8 @@ public function __construct(ManagerRegistry $registry)
3032 * @param string $domain
3133 * @param string $locale
3234 *
33- * @return array|\Creative\DbI18nBundle\Interfaces\EntityInterface[]|\Doctrine\Common\Collections\Collection|mixed
35+ * @return EntityInterface[]|Collection
36+ * @psalm-return Collection<array-key, EntityInterface[]>
3437 */
3538 public function findByDomainAndLocale (string $ domain , string $ locale )
3639 {
You can’t perform that action at this time.
0 commit comments