diff --git a/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php b/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php index ea3682f1d97..a4b40d1e35e 100644 --- a/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php @@ -19,8 +19,8 @@ use Doctrine\ORM\Mapping\MappingException; use Doctrine\ORM\Mapping\ReflectionEmbeddedProperty; use Doctrine\ORM\Query\QueryException; -use Doctrine\Persistence\Reflection\RuntimePublicReflectionProperty; use Doctrine\Tests\OrmFunctionalTestCase; +use ReflectionProperty; use function class_exists; use function sprintf; @@ -53,7 +53,7 @@ public function testMetadataHasReflectionEmbeddablesAccessible(): void ); } else { self::assertInstanceOf( - RuntimePublicReflectionProperty::class, + ReflectionProperty::class, $classMetadata->getReflectionProperty('address') ); }