1 | <?php |
||
12 | class OAuthUserFinderTest extends TestCase |
||
13 | { |
||
14 | /** |
||
15 | * @var OAuthUserFinder |
||
16 | */ |
||
17 | private $object; |
||
18 | |||
19 | /** |
||
20 | * @var EntityManager |
||
21 | */ |
||
22 | private $em; |
||
23 | |||
24 | /** |
||
25 | * @return \PHPUnit_Framework_MockObject_MockObject |
||
|
|||
26 | */ |
||
27 | private function getEm() |
||
35 | |||
36 | public function setUp(): void |
||
37 | { |
||
38 | $em = $this->getEm(); |
||
39 | $object = new OAuthUserFinder($em, User::class); |
||
40 | $this->object = $object; |
||
41 | } |
||
42 | |||
43 | public function testFindUserByGoogleSignInData() |
||
52 | } |
||
53 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.