diff --git a/Metadata/Driver/DoctrineTypeDriver.php b/Metadata/Driver/DoctrineTypeDriver.php
index <HASH>..<HASH> 100644
--- a/Metadata/Driver/DoctrineTypeDriver.php
+++ b/Metadata/Driver/DoctrineTypeDriver.php
@@ -76,7 +76,7 @@ class DoctrineTypeDriver implements DriverInterface
         $classMetadata = $this->delegate->loadMetadataForClass($class);
 
         // Abort if the given class is not a mapped entity
-        if (!$doctrineMetadata = $this->tryLoadingDoctrineMetadata($class)) {
+        if (!$doctrineMetadata = $this->tryLoadingDoctrineMetadata($class->getName())) {
             return $classMetadata;
         }
Fix incorrect parameter in DoctrineTypeDriver

Reflection class was passed in instead of class name