Remove php 5.4 style array

This commit is contained in:
Timothy Warren 2015-07-20 15:27:35 -04:00
parent cd7f904889
commit 7dbae40d36

View File

@ -212,11 +212,11 @@ final class Connection_Manager {
{
if (strtolower($dbtype) === 'pdo_firebird') $dbtype = 'firebird';
$pairs = [];
$pairs = array();
if ( ! empty($params->database))
{
$pairs[] = implode('=', ['dbname', $params->database]);
$pairs[] = implode('=', array('dbname', $params->database));
}
$skip = array(
@ -234,7 +234,7 @@ final class Connection_Manager {
{
if (( ! array_key_exists($key, $skip)) && ( ! empty($val)))
{
$pairs[] = implode('=', [$key, $val]);
$pairs[] = implode('=', array($key, $val));
}
}