From d5e0cd251066a4c5b9df1c5ce1e2f44ebf0bb0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kud=C4=9Blka?= Date: Sat, 27 May 2023 20:22:12 +0200 Subject: [PATCH] Update ProxyExtension.php --- src/DI/ProxyExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DI/ProxyExtension.php b/src/DI/ProxyExtension.php index 2d2e130..d2450b4 100644 --- a/src/DI/ProxyExtension.php +++ b/src/DI/ProxyExtension.php @@ -103,7 +103,7 @@ public function beforeCompile() $def->setTags(array_diff_key($def->getTags(), [self::TAG_LAZY => null])); continue; } - $def->addTag(self::TAG_LAZY, $def->getImplement() ?: $def->getClass()); + $def->addTag(self::TAG_LAZY, $def->getType()); } }