Verified Commit 0f16d816 authored by Oliver Klee's avatar Oliver Klee
Browse files

[CLEANUP] Fix the Prophecy-related type annotations

parent 4bde411d
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment