Skip to content

Commit f3afa2c

Browse files
vitkutnyf3l1x
authored andcommitted
Remove wrong overrides from .phpstorm.meta.php
Overrides for getRepository are invalid – it overrides returned type from `@returns Collection<T>` to returning the entity directly `@returns T` See DEVSENSE/phptools-docs#620
1 parent c8b43bb commit f3afa2c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.phpstorm.meta.php

-6
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55
override(\Doctrine\ORM\EntityManagerInterface::find(0), map([
66
'' => '@',
77
]));
8-
override(\Doctrine\ORM\EntityManagerInterface::getRepository(0), map([
9-
'' => '@',
10-
]));
118
override(\Doctrine\ORM\EntityManagerInterface::getReference(0), map([
129
'' => '@',
1310
]));
14-
override(\Doctrine\Persistence\ObjectManager::getRepository(0), map([
15-
'' => '@',
16-
]));
1711
}

0 commit comments

Comments
 (0)