diff --git a/Tests/Unit/Controller/FrontEndEditorControllerTest.php b/Tests/Unit/Controller/FrontEndEditorControllerTest.php index c36e65e7..45c7737b 100644 --- a/Tests/Unit/Controller/FrontEndEditorControllerTest.php +++ b/Tests/Unit/Controller/FrontEndEditorControllerTest.php @@ -39,7 +39,7 @@ final class FrontEndEditorControllerTest extends UnitTestCase private Context $context; /** - * @var \TTN\Tea\Domain\Repository\TeaRepository&MockObject + * @var TeaRepository&MockObject */ private TeaRepository $teaRepositoryMock; diff --git a/Tests/Unit/Domain/Repository/TeaRepositoryTest.php b/Tests/Unit/Domain/Repository/TeaRepositoryTest.php index 0e91d33d..c7e9e8b9 100644 --- a/Tests/Unit/Domain/Repository/TeaRepositoryTest.php +++ b/Tests/Unit/Domain/Repository/TeaRepositoryTest.php @@ -25,7 +25,7 @@ protected function setUp(): void // @phpstan-ignore-next-line This line is 11LTS-specific, but we're running PHPStan on TYPO3 12. $this->subject = new TeaRepository($objectManagerStub); } else { - $this->subject = new \TTN\Tea\Domain\Repository\TeaRepository(); + $this->subject = new TeaRepository(); } }