Skip to content

Commit 3097010

Browse files
committed
Disable autowired
1 parent 9fa57b2 commit 3097010

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/EloquentExtension.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public function loadConfiguration()
2323

2424
if ($container->parameters['debugMode']) {
2525
$panel = $container->addDefinition($this->prefix('panel'))
26-
->setFactory(EloquentPanel::class);
26+
->setFactory(EloquentPanel::class)
27+
->setAutowired(false);
2728
$connection->addSetup([$panel, 'register'], [$connection]);
2829
}
2930
}

0 commit comments

Comments
 (0)