Skip to content

Commit 0555ae6

Browse files
committed
Fix ClassMetadata typehint
1 parent 498d449 commit 0555ae6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"doctrine/doctrine-bundle": "^2.2",
4141
"doctrine/orm": "^2.8",
4242
"ergebnis/composer-normalize": "^2.11",
43-
"ocramius/proxy-manager": "^2.11.1",
43+
"friendsofphp/proxy-manager-lts": "^1.0",
4444
"phpunit/phpunit": "^9.3",
4545
"simple-bus/doctrine-orm-bridge": "^6.0",
4646
"symfony/framework-bundle": "^4.4 || ^5.2",

tests/Functional/DoctrineOrmSmokeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private function createSchema(ContainerInterface $container): void
109109
/** @var EntityManager $entityManager */
110110
$entityManager = $container->get('doctrine.orm.entity_manager');
111111

112-
/** @var ClassMetadata[] $metadata */
112+
/** @var array<int, ClassMetadata<object>> $metadata */
113113
$metadata = $entityManager->getMetadataFactory()->getAllMetadata();
114114

115115
$schemaTool = new SchemaTool($entityManager);

0 commit comments

Comments
 (0)