Remove php 5.4 style array
This commit is contained in:
parent
cd7f904889
commit
7dbae40d36
@ -212,11 +212,11 @@ final class Connection_Manager {
|
|||||||
{
|
{
|
||||||
if (strtolower($dbtype) === 'pdo_firebird') $dbtype = 'firebird';
|
if (strtolower($dbtype) === 'pdo_firebird') $dbtype = 'firebird';
|
||||||
|
|
||||||
$pairs = [];
|
$pairs = array();
|
||||||
|
|
||||||
if ( ! empty($params->database))
|
if ( ! empty($params->database))
|
||||||
{
|
{
|
||||||
$pairs[] = implode('=', ['dbname', $params->database]);
|
$pairs[] = implode('=', array('dbname', $params->database));
|
||||||
}
|
}
|
||||||
|
|
||||||
$skip = array(
|
$skip = array(
|
||||||
@ -234,7 +234,7 @@ final class Connection_Manager {
|
|||||||
{
|
{
|
||||||
if (( ! array_key_exists($key, $skip)) && ( ! empty($val)))
|
if (( ! array_key_exists($key, $skip)) && ( ! empty($val)))
|
||||||
{
|
{
|
||||||
$pairs[] = implode('=', [$key, $val]);
|
$pairs[] = implode('=', array($key, $val));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user