diff --git a/lib/Doctrine/DataDict/Pgsql.php b/lib/Doctrine/DataDict/Pgsql.php index e43f87eca..bdde8344f 100644 --- a/lib/Doctrine/DataDict/Pgsql.php +++ b/lib/Doctrine/DataDict/Pgsql.php @@ -447,9 +447,9 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict $field['name'] = ''; } - $db_type = strtolower($field['type']); + $dbType = strtolower($field['type']); - switch ($db_type) { + switch ($dbType) { case 'smallint': case 'int2': $type[] = 'integer';