1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
Benjamin Eberlei 2012-01-09 08:04:21 +01:00
parent e16803de61
commit 0014afe746

View File

@ -137,7 +137,7 @@ class AnnotationDriver implements Driver
if (!$class) { if (!$class) {
// this happens when running annotation driver in combination with // this happens when running annotation driver in combination with
// static reflection services. This is not the nicest fix // static reflection services. This is not the nicest fix
$class = new \ReflectionClass($class->name); $class = new \ReflectionClass($metadata->name);
} }
$classAnnotations = $this->_reader->getClassAnnotations($class); $classAnnotations = $this->_reader->getClassAnnotations($class);