From f3bdcb91186447f13d4cea150e47f1f00d87d8f6 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Mon, 17 Sep 2007 21:22:00 +0000 Subject: [PATCH] Lowercase as. --- lib/Doctrine/Import/Schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Import/Schema.php b/lib/Doctrine/Import/Schema.php index eff1ebe8e..daeb6d8b4 100644 --- a/lib/Doctrine/Import/Schema.php +++ b/lib/Doctrine/Import/Schema.php @@ -103,11 +103,11 @@ abstract class Doctrine_Import_Schema public function buildRelationships($array) { - foreach($array AS $name => $properties) { + foreach($array as $name => $properties) { $className = $properties['className']; $relations = $properties['relations']; - foreach ($relations AS $alias => $relation) { + foreach ($relations as $alias => $relation) { $class = isset($relation['class']) ? $relation['class']:$alias; $relation['alias'] = $alias;