We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51d1757 + 002df8e commit 9f901b5Copy full SHA for 9f901b5
src/IlluminateRegistry.php
@@ -81,7 +81,7 @@ public function addManager($manager, array $settings = [])
81
*/
82
public function addConnection($connection)
83
{
84
- if (!$this->container->bound($this->getManagerBindingName($connection))) {
+ if (!$this->container->bound($this->getConnectionBindingName($connection))) {
85
$this->container->singleton($this->getConnectionBindingName($connection), function () use ($connection) {
86
return $this->getManager($connection)->getConnection();
87
});
0 commit comments