Merge branch '2.2'
This commit is contained in:
commit
773fbd9edb
@ -134,6 +134,11 @@ class AnnotationDriver implements Driver
|
||||
public function loadMetadataForClass($className, ClassMetadataInfo $metadata)
|
||||
{
|
||||
$class = $metadata->getReflectionClass();
|
||||
if (!$class) {
|
||||
// this happens when running annotation driver in combination with
|
||||
// static reflection services. This is not the nicest fix
|
||||
$class = new \ReflectionClass($metadata->name);
|
||||
}
|
||||
|
||||
$classAnnotations = $this->_reader->getClassAnnotations($class);
|
||||
|
||||
|
2
lib/vendor/doctrine-build-common
vendored
2
lib/vendor/doctrine-build-common
vendored
@ -1 +1 @@
|
||||
Subproject commit 5812b7acdc962196140e6b9f7a4758fb6d6f4933
|
||||
Subproject commit c9ff83d716d56a82b3c15733ea7d180b8619d9d9
|
2
lib/vendor/doctrine-common
vendored
2
lib/vendor/doctrine-common
vendored
@ -1 +1 @@
|
||||
Subproject commit cc04744bcf5a4743c46fae0487ac7a093a722856
|
||||
Subproject commit 17e774007b98beb2e253e645260e0f9c32f4c936
|
2
lib/vendor/doctrine-dbal
vendored
2
lib/vendor/doctrine-dbal
vendored
@ -1 +1 @@
|
||||
Subproject commit 29b714b7fe72641d749ae90324a5759853fe09b0
|
||||
Subproject commit 3dc1b22e12368bc3bd5aaa72a7d4f75f61273223
|
Loading…
x
Reference in New Issue
Block a user