From 4537d5fca9a12bf54a535d89a7848f44ba41bd16 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 6 Oct 2022 17:51:04 +0200 Subject: [PATCH] [CLEANUP] Drop some redundant PHPDoc type annotations (#611) --- .../Domain/Repository/Product/TeaRepositoryTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php index 32c5382..e080515 100644 --- a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php +++ b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php @@ -31,12 +31,10 @@ class TeaRepositoryTest extends FunctionalTestCase $this->persistenceManager = GeneralUtility::makeInstance(PersistenceManager::class); - /** @var Typo3Version $versionInformation */ $versionInformation = GeneralUtility::makeInstance(Typo3Version::class); if ($versionInformation->getMajorVersion() >= 11) { $this->subject = $this->getContainer()->get(TeaRepository::class); } else { - /** @var ObjectManager $objectManager */ $objectManager = GeneralUtility::makeInstance(ObjectManager::class); $this->subject = $objectManager->get(TeaRepository::class); } @@ -85,7 +83,6 @@ class TeaRepositoryTest extends FunctionalTestCase $this->importCSVDataSet(__DIR__ . '/../Fixtures/Product/Tea.csv'); $uid = 1; - /** @var Tea $model */ $model = $this->subject->findByUid($uid); self::assertNotNull($model); @@ -101,7 +98,6 @@ class TeaRepositoryTest extends FunctionalTestCase $this->importCSVDataSet(__DIR__ . '/../Fixtures/Product/Tea.csv'); $uid = 3; - /** @var Tea $model */ $model = $this->subject->findByUid($uid); $image = $model->getImage();