Skip to content

Commit 4b6e76c

Browse files
[DependencyInjection][VarExporter] Generate lazy proxies for non-ghostable lazy services out of the box
1 parent 41773f1 commit 4b6e76c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DebugClassLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Prophecy\Prophecy\ProphecySubjectInterface;
2222
use ProxyManager\Proxy\ProxyInterface;
2323
use Symfony\Component\ErrorHandler\Internal\TentativeTypes;
24-
use Symfony\Component\VarExporter\LazyGhostObjectInterface;
24+
use Symfony\Component\VarExporter\LazyObjectInterface;
2525

2626
/**
2727
* Autoloader checking if the class is really defined in the file found.
@@ -251,7 +251,7 @@ public static function checkClasses(): bool
251251
&& !is_subclass_of($symbols[$i], ProphecySubjectInterface::class)
252252
&& !is_subclass_of($symbols[$i], Proxy::class)
253253
&& !is_subclass_of($symbols[$i], ProxyInterface::class)
254-
&& !is_subclass_of($symbols[$i], LazyGhostObjectInterface::class)
254+
&& !is_subclass_of($symbols[$i], LazyObjectInterface::class)
255255
&& !is_subclass_of($symbols[$i], LegacyProxy::class)
256256
&& !is_subclass_of($symbols[$i], MockInterface::class)
257257
&& !is_subclass_of($symbols[$i], IMock::class)

0 commit comments

Comments
 (0)