File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 29
29
class DoctrineChoiceLoaderTest extends TestCase
30
30
{
31
31
/**
32
- * @var ChoiceListFactoryInterface| MockObject
32
+ * @var MockObject&ChoiceListFactoryInterface
33
33
*/
34
34
private $ factory ;
35
35
36
36
/**
37
- * @var ObjectManager| MockObject
37
+ * @var MockObject&ObjectManager
38
38
*/
39
39
private $ om ;
40
40
41
41
/**
42
- * @var ObjectRepository| MockObject
42
+ * @var MockObject&ObjectRepository
43
43
*/
44
44
private $ repository ;
45
45
@@ -49,12 +49,12 @@ class DoctrineChoiceLoaderTest extends TestCase
49
49
private $ class ;
50
50
51
51
/**
52
- * @var IdReader| MockObject
52
+ * @var MockObject&IdReader
53
53
*/
54
54
private $ idReader ;
55
55
56
56
/**
57
- * @var EntityLoaderInterface| MockObject
57
+ * @var MockObject&EntityLoaderInterface
58
58
*/
59
59
private $ objectLoader ;
60
60
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class EntityTypeTest extends BaseTypeTest
59
59
private $ em ;
60
60
61
61
/**
62
- * @var MockObject| ManagerRegistry
62
+ * @var MockObject& ManagerRegistry
63
63
*/
64
64
private $ emRegistry ;
65
65
@@ -1312,7 +1312,10 @@ public function testLoaderCachingWithParameters()
1312
1312
$ this ->assertSame ($ choiceLoader1 , $ choiceLoader3 );
1313
1313
}
1314
1314
1315
- protected function createRegistryMock ($ name , $ em )
1315
+ /**
1316
+ * @return MockObject&ManagerRegistry
1317
+ */
1318
+ protected function createRegistryMock ($ name , $ em ): ManagerRegistry
1316
1319
{
1317
1320
$ registry = $ this ->createMock (ManagerRegistry::class);
1318
1321
$ registry ->expects ($ this ->any ())
You can’t perform that action at this time.
0 commit comments