Skip to content

Commit

Permalink
uses nette/di 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 2, 2024
1 parent 69f0097 commit 8f95ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -39,7 +39,7 @@
},
"conflict": {
"nette/caching": "<3.1",
"nette/di": "<3.0.7",
"nette/di": "<3.2",
"nette/forms": "<3.2",
"nette/schema": "<1.2",
"latte/latte": "<2.7.1 || >=3.0.0 <3.0.12 || >=3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/Bridges/ApplicationDI/ApplicationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8f95ef9

Please sign in to comment.