From b33612f9e7e1fce5baed95ef47db801ca4b95991 Mon Sep 17 00:00:00 2001 From: Restless-ET Date: Fri, 5 Jun 2015 17:08:50 +0100 Subject: [PATCH] [2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata This bug was introduced at #1205 while resolving #1200. --- lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php b/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php index 8003000ce..52f3c92b9 100644 --- a/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php +++ b/lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php @@ -80,7 +80,7 @@ class ConvertDoctrine1Schema $schema = array_merge($schema, (array) Yaml::parse(file_get_contents($file))); } } else { - $schema = array_merge($schema, (array) Yaml::parse(file_get_contents($file))); + $schema = array_merge($schema, (array) Yaml::parse(file_get_contents($path))); } }