1
0
mirror of synced 2024-12-14 07:06:04 +03:00

convention fixes #2

This commit is contained in:
Rivaros 2012-02-13 16:39:46 +02:00 committed by Benjamin Eberlei
parent df82b6060b
commit b346f1901a

View File

@ -193,7 +193,6 @@ class DatabaseDriver implements Driver
foreach ($columns as $column) {
$fieldMapping = array();
if (in_array($column->getName(), $allForeignKeyColumns)) {
continue;
} else if ($primaryKeyColumns && in_array($column->getName(), $primaryKeyColumns)) {
@ -312,7 +311,7 @@ class DatabaseDriver implements Driver
}
//Here we need to check if $cols are the same as $primaryKeyColums
if(!array_diff($cols,$primaryKeyColumns)) {
if (!array_diff($cols,$primaryKeyColumns)) {
$metadata->mapOneToOne($associationMapping);
}
else {