|
9 | 9 | use Doctrine\ORM\Internal\Hydration\ObjectHydrator; |
10 | 10 | use Doctrine\ORM\Mapping\ClassMetadata; |
11 | 11 | use Doctrine\ORM\PersistentCollection; |
12 | | -use Doctrine\ORM\Proxy\InternalProxy; |
13 | 12 | use Doctrine\ORM\Proxy\ProxyFactory; |
14 | 13 | use Doctrine\ORM\Query\ResultSetMapping; |
15 | 14 | use Doctrine\Tests\Mocks\ArrayResultFactory; |
@@ -1030,7 +1029,7 @@ public function testCreatesProxyForLazyLoadingWithForeignKeys(): void |
1030 | 1029 | 'Proxies', |
1031 | 1030 | ProxyFactory::AUTOGENERATE_ALWAYS, |
1032 | 1031 | ) extends ProxyFactory { |
1033 | | - public function getProxy(string $className, array $identifier): InternalProxy |
| 1032 | + public function getProxy(string $className, array $identifier): object |
1034 | 1033 | { |
1035 | 1034 | TestCase::assertSame(ECommerceShipping::class, $className); |
1036 | 1035 | TestCase::assertSame(['id' => 42], $identifier); |
@@ -1084,7 +1083,7 @@ public function testCreatesProxyForLazyLoadingWithForeignKeysWithAliasedProductE |
1084 | 1083 | 'Proxies', |
1085 | 1084 | ProxyFactory::AUTOGENERATE_ALWAYS, |
1086 | 1085 | ) extends ProxyFactory { |
1087 | | - public function getProxy(string $className, array $identifier): InternalProxy |
| 1086 | + public function getProxy(string $className, array $identifier): object |
1088 | 1087 | { |
1089 | 1088 | TestCase::assertSame(ECommerceShipping::class, $className); |
1090 | 1089 | TestCase::assertSame(['id' => 42], $identifier); |
|
0 commit comments