- Fixed PDO return value of connect() in mssql

This commit is contained in:
Dave Mc Nicoll authored and Dave Mc Nicoll committed 2026-10-22 17:24:04 +00:00
1 parent eb505f4772
commit f6bbdda137
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ class MsSQL implements AdapterInterface, MigrateInterface, SqlAdapterInterface {
}
}
public function connect() : Pdo
public function connect() : \PDO
{
try {
$pdo = new Pdo\Mssql($this->buildDataSourceName(), $this->username, $this->password);