From 7bdf0c2bd7e0928e28a44bfcfde02f0ecdc265ae Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 14 Dec 2023 23:35:17 +0100 Subject: [PATCH] uses nette/di 3.2 --- composer.json | 2 +- src/Bridges/ApplicationDI/ApplicationExtension.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c4d574f3d..76f5b5b71 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "require-dev": { "nette/tester": "^2.5", - "nette/di": "^3.0", + "nette/di": "^3.2", "nette/forms": "^3.2", "nette/robot-loader": "^4.0", "nette/security": "^3.2", diff --git a/src/Bridges/ApplicationDI/ApplicationExtension.php b/src/Bridges/ApplicationDI/ApplicationExtension.php index 1ec20c3dd..95cede590 100644 --- a/src/Bridges/ApplicationDI/ApplicationExtension.php +++ b/src/Bridges/ApplicationDI/ApplicationExtension.php @@ -124,7 +124,7 @@ public function beforeCompile(): void } foreach ($all as $def) { - $def->addTag(Nette\DI\Extensions\InjectExtension::TAG_INJECT) + $def->addTag(Nette\DI\Extensions\InjectExtension::TagInject) ->setAutowired(false); if (is_subclass_of($def->getType(), UI\Presenter::class) && $def instanceof Definitions\ServiceDefinition) {