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
3131 use ExpectDeprecationTrait;
3232
3333 /**
34- * @var ChoiceListFactoryInterface| MockObject
34+ * @var MockObject&ChoiceListFactoryInterface
3535 */
3636 private $ factory ;
3737
3838 /**
39- * @var ObjectManager| MockObject
39+ * @var MockObject&ObjectManager
4040 */
4141 private $ om ;
4242
4343 /**
44- * @var ObjectRepository| MockObject
44+ * @var MockObject&ObjectRepository
4545 */
4646 private $ repository ;
4747
@@ -51,12 +51,12 @@ class DoctrineChoiceLoaderTest extends TestCase
5151 private $ class ;
5252
5353 /**
54- * @var IdReader| MockObject
54+ * @var MockObject&IdReader
5555 */
5656 private $ idReader ;
5757
5858 /**
59- * @var EntityLoaderInterface| MockObject
59+ * @var MockObject&EntityLoaderInterface
6060 */
6161 private $ objectLoader ;
6262
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class EntityTypeTest extends BaseTypeTest
5959 private $ em ;
6060
6161 /**
62- * @var MockObject| ManagerRegistry
62+ * @var MockObject& ManagerRegistry
6363 */
6464 private $ emRegistry ;
6565
@@ -1312,7 +1312,10 @@ public function testLoaderCachingWithParameters()
13121312 $ this ->assertSame ($ choiceList1 , $ choiceList3 );
13131313 }
13141314
1315- protected function createRegistryMock ($ name , $ em )
1315+ /**
1316+ * @return MockObject&ManagerRegistry
1317+ */
1318+ protected function createRegistryMock ($ name , $ em ): ManagerRegistry
13161319 {
13171320 $ registry = $ this ->createMock (ManagerRegistry::class);
13181321 $ registry ->expects ($ this ->any ())
You can’t perform that action at this time.
0 commit comments