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 2929class DoctrineChoiceLoaderTest extends TestCase
3030{
3131 /**
32- * @var ChoiceListFactoryInterface| MockObject
32+ * @var MockObject&ChoiceListFactoryInterface
3333 */
3434 private $ factory ;
3535
3636 /**
37- * @var ObjectManager| MockObject
37+ * @var MockObject&ObjectManager
3838 */
3939 private $ om ;
4040
4141 /**
42- * @var ObjectRepository| MockObject
42+ * @var MockObject&ObjectRepository
4343 */
4444 private $ repository ;
4545
@@ -49,12 +49,12 @@ class DoctrineChoiceLoaderTest extends TestCase
4949 private $ class ;
5050
5151 /**
52- * @var IdReader| MockObject
52+ * @var MockObject&IdReader
5353 */
5454 private $ idReader ;
5555
5656 /**
57- * @var EntityLoaderInterface| MockObject
57+ * @var MockObject&EntityLoaderInterface
5858 */
5959 private $ objectLoader ;
6060
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 ($ choiceLoader1 , $ choiceLoader3 );
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