diff --git a/lib/Doctrine/DataDict/Firebird.php b/lib/Doctrine/DataDict/Firebird.php index c882309a9..d97811332 100644 --- a/lib/Doctrine/DataDict/Firebird.php +++ b/lib/Doctrine/DataDict/Firebird.php @@ -178,7 +178,10 @@ class Doctrine_DataDict_Firebird extends Doctrine_DataDict throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$dbType); } - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, + 'length' => $length, + 'unsigned' => $unsigned, + 'fixed' => $fixed); } /** * Obtain DBMS specific SQL code portion needed to set the CHARACTER SET diff --git a/lib/Doctrine/DataDict/Mssql.php b/lib/Doctrine/DataDict/Mssql.php index c4bf35f5a..afe961a9b 100644 --- a/lib/Doctrine/DataDict/Mssql.php +++ b/lib/Doctrine/DataDict/Mssql.php @@ -174,6 +174,9 @@ class Doctrine_DataDict_Mssql extends Doctrine_DataDict throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$db_type); } - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, + 'length' => $length, + 'unsigned' => $unsigned, + 'fixed' => $fixed); } } diff --git a/lib/Doctrine/DataDict/Mysql.php b/lib/Doctrine/DataDict/Mysql.php index f7fa67c63..e7d7fee40 100644 --- a/lib/Doctrine/DataDict/Mysql.php +++ b/lib/Doctrine/DataDict/Mysql.php @@ -363,7 +363,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict $length = ((int) $length == 0) ? null : (int) $length; - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, 'length' => $length, 'unsigned' => $unsigned, 'fixed' => $fixed); } /** * Obtain DBMS specific SQL code portion needed to set the CHARACTER SET diff --git a/lib/Doctrine/DataDict/Oracle.php b/lib/Doctrine/DataDict/Oracle.php index fa68c5a7f..2a51a76d4 100644 --- a/lib/Doctrine/DataDict/Oracle.php +++ b/lib/Doctrine/DataDict/Oracle.php @@ -180,6 +180,9 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict throw new Doctrine_DataDict_Exception('unknown database attribute type: ' . $dbType); } - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, + 'length' => $length, + 'unsigned' => $unsigned, + 'fixed' => $fixed); } } diff --git a/lib/Doctrine/DataDict/Pgsql.php b/lib/Doctrine/DataDict/Pgsql.php index f2bfe4c62..913f63279 100644 --- a/lib/Doctrine/DataDict/Pgsql.php +++ b/lib/Doctrine/DataDict/Pgsql.php @@ -541,7 +541,10 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$db_type); } - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, + 'length' => $length, + 'unsigned' => $unsigned, + 'fixed' => $fixed); } /** * Obtain DBMS specific SQL code portion needed to declare an integer type diff --git a/lib/Doctrine/DataDict/Sqlite.php b/lib/Doctrine/DataDict/Sqlite.php index 58e1494d7..91d84e4fd 100644 --- a/lib/Doctrine/DataDict/Sqlite.php +++ b/lib/Doctrine/DataDict/Sqlite.php @@ -231,7 +231,10 @@ class Doctrine_DataDict_Sqlite extends Doctrine_DataDict throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$dbType); } - return array($type, $length, $unsigned, $fixed); + return array('type' => $type, + 'length' => $length, + 'unsigned' => $unsigned, + 'fixed' => $fixed); } /** * Obtain DBMS specific SQL code portion needed to declare an integer type