From 0014afe74694fb668898725a67a753c82731ccec Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Mon, 9 Jan 2012 08:04:21 +0100 Subject: [PATCH] Fix Typo --- lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php index c8b53fe94..f11331ffa 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php @@ -137,7 +137,7 @@ class AnnotationDriver implements Driver if (!$class) { // this happens when running annotation driver in combination with // static reflection services. This is not the nicest fix - $class = new \ReflectionClass($class->name); + $class = new \ReflectionClass($metadata->name); } $classAnnotations = $this->_reader->getClassAnnotations($class);