Skip to content

Commit

Permalink
Fix PDO passing in SqlServerDriver (#35564)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Dec 10, 2020
1 parent 3ed4877 commit 2a9919a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/PDO/SqlServerDriver.php
Expand Up @@ -9,7 +9,7 @@ class SqlServerDriver extends AbstractSQLServerDriver
public function connect(array $params)
{
return new SqlServerConnection(
new Connection($params)
new Connection($params['pdo'])
);
}
}

0 comments on commit 2a9919a

Please sign in to comment.