Skip to content

Commit

Permalink
Merge branch 'master' into 3.next
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 12, 2019
2 parents 8c90bde + f0ff1a5 commit fc7ed3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Driver/Mysql.php
Expand Up @@ -122,7 +122,7 @@ public function connect()
*/
public function enabled()
{
return in_array('mysql', PDO::getAvailableDrivers());
return in_array('mysql', PDO::getAvailableDrivers(), true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Driver/Postgres.php
Expand Up @@ -95,7 +95,7 @@ public function connect()
*/
public function enabled()
{
return in_array('pgsql', PDO::getAvailableDrivers());
return in_array('pgsql', PDO::getAvailableDrivers(), true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Driver/Sqlite.php
Expand Up @@ -91,7 +91,7 @@ public function connect()
*/
public function enabled()
{
return in_array('sqlite', PDO::getAvailableDrivers());
return in_array('sqlite', PDO::getAvailableDrivers(), true);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Driver/Sqlserver.php
Expand Up @@ -132,7 +132,7 @@ public function connect()
*/
public function enabled()
{
return in_array('sqlsrv', PDO::getAvailableDrivers());
return in_array('sqlsrv', PDO::getAvailableDrivers(), true);
}

/**
Expand Down

0 comments on commit fc7ed3b

Please sign in to comment.