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 27, 2023
1 parent 14d1d8e commit fc7a406
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 fc7a406

Please sign in to comment.