From f3afa2cf045259e1f4c996a693643510656ff95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Kutn=C3=BD?= Date: Tue, 20 Aug 2024 11:04:07 +0200 Subject: [PATCH] Remove wrong overrides from .phpstorm.meta.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Overrides for getRepository are invalid – it overrides returned type from `@returns Collection` to returning the entity directly `@returns T` See https://github.com/DEVSENSE/phptools-docs/issues/620 --- .phpstorm.meta.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 10556cb..ffbdfbc 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -5,13 +5,7 @@ override(\Doctrine\ORM\EntityManagerInterface::find(0), map([ '' => '@', ])); - override(\Doctrine\ORM\EntityManagerInterface::getRepository(0), map([ - '' => '@', - ])); override(\Doctrine\ORM\EntityManagerInterface::getReference(0), map([ '' => '@', ])); - override(\Doctrine\Persistence\ObjectManager::getRepository(0), map([ - '' => '@', - ])); }