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 @@ -31,17 +31,17 @@ class DoctrineChoiceLoaderTest extends TestCase
31
31
use ExpectDeprecationTrait;
32
32
33
33
/**
34
- * @var ChoiceListFactoryInterface| MockObject
34
+ * @var MockObject&ChoiceListFactoryInterface
35
35
*/
36
36
private $ factory ;
37
37
38
38
/**
39
- * @var ObjectManager| MockObject
39
+ * @var MockObject&ObjectManager
40
40
*/
41
41
private $ om ;
42
42
43
43
/**
44
- * @var ObjectRepository| MockObject
44
+ * @var MockObject&ObjectRepository
45
45
*/
46
46
private $ repository ;
47
47
@@ -51,12 +51,12 @@ class DoctrineChoiceLoaderTest extends TestCase
51
51
private $ class ;
52
52
53
53
/**
54
- * @var IdReader| MockObject
54
+ * @var MockObject&IdReader
55
55
*/
56
56
private $ idReader ;
57
57
58
58
/**
59
- * @var EntityLoaderInterface| MockObject
59
+ * @var MockObject&EntityLoaderInterface
60
60
*/
61
61
private $ objectLoader ;
62
62
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 ($ choiceList1 , $ choiceList3 );
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