Fix Typo
This commit is contained in:
parent
e16803de61
commit
0014afe746
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user