Skip to content

Commit

Permalink
Stop using unnecessary FQCN
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Nov 29, 2023
1 parent 8b230fa commit d9576f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Unit/Controller/FrontEndEditorControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Domain/Repository/TeaRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit d9576f8

Please sign in to comment.