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) {