Skip to content

Commit

Permalink
di: enable Nette 3.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jan 6, 2019
1 parent 1e9a871 commit 5b14373
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions composer.json
Expand Up @@ -17,9 +17,11 @@
"require-dev": {
"mockery/mockery": "~1.2",
"nette/tester": "~2.1",
"nette/caching": "~2.5",
"nette/di": "~2.4 >=2.4.7",
"nette/utils": "~2.5",
"nette/caching": "~2.5 || ~3.0@rc",
"nette/di": "~2.4 >=2.4.10 || ~3.0@beta",
"nette/utils": "~2.5 || ~3.0@rc",
"nette/finder": "~2.5 || ~3.0@rc",
"nette/neon": "~2.5 || ~3.0@rc",
"phpstan/phpstan-shim": "0.10.6",
"tracy/tracy": "~2.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Bridges/NetteDI/DbalExtension.php
Expand Up @@ -29,7 +29,7 @@ protected function setupConnection(array $config)
$builder = $this->getContainerBuilder();

$definition = $builder->addDefinition($this->prefix('connection'))
->setClass(Connection::class)
->setType(Connection::class)
->setArguments([
'config' => $config,
])
Expand Down

0 comments on commit 5b14373

Please sign in to comment.