Skip to content

Commit 9f901b5

Browse files
Merge pull request #39 from DanWithams/add-connect-fix
Fixing incorrect function name
2 parents 51d1757 + 002df8e commit 9f901b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IlluminateRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function addManager($manager, array $settings = [])
8181
*/
8282
public function addConnection($connection)
8383
{
84-
if (!$this->container->bound($this->getManagerBindingName($connection))) {
84+
if (!$this->container->bound($this->getConnectionBindingName($connection))) {
8585
$this->container->singleton($this->getConnectionBindingName($connection), function () use ($connection) {
8686
return $this->getManager($connection)->getConnection();
8787
});

0 commit comments

Comments
 (0)