mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 12:36:12 +01:00
[CLEANUP] Fix the Prophecy-related type annotations (#299)
This commit is contained in:
parent
a173900a7f
commit
6e927a8656
2 changed files with 4 additions and 4 deletions
|
@ -25,12 +25,12 @@ class TeaControllerTest extends UnitTestCase
|
|||
private $subject = null;
|
||||
|
||||
/**
|
||||
* @var TemplateView|ObjectProphecy
|
||||
* @var ObjectProphecy
|
||||
*/
|
||||
private $viewProphecy = null;
|
||||
|
||||
/**
|
||||
* @var TeaRepository|ObjectProphecy
|
||||
* @var ObjectProphecy
|
||||
*/
|
||||
private $teaRepositoryProphecy = null;
|
||||
|
||||
|
@ -43,7 +43,7 @@ class TeaControllerTest extends UnitTestCase
|
|||
$this->inject($this->subject, 'view', $view);
|
||||
|
||||
$this->teaRepositoryProphecy = $this->prophesize(TeaRepository::class);
|
||||
/** @var TeaRepository|ProphecySubjectInterface $teaRepository */
|
||||
/** @var TeaRepository&ProphecySubjectInterface $teaRepository */
|
||||
$teaRepository = $this->teaRepositoryProphecy->reveal();
|
||||
$this->subject->injectTeaRepository($teaRepository);
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ class TeaRepositoryTest extends UnitTestCase
|
|||
private $subject = null;
|
||||
|
||||
/**
|
||||
* @var ObjectManagerInterface|ProphecySubjectInterface
|
||||
* @var ObjectManagerInterface&ProphecySubjectInterface
|
||||
*/
|
||||
protected $objectManager = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue