From 11f2f01afbcd3c520d9dd1b9dd3005a74db21761 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sat, 11 Apr 2015 15:36:05 +0200 Subject: [PATCH] Fixed the value type returned by a method --- Reflection/EntityMetadataInspector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Reflection/EntityMetadataInspector.php b/Reflection/EntityMetadataInspector.php index 4fb877988d..efa98cc9b6 100644 --- a/Reflection/EntityMetadataInspector.php +++ b/Reflection/EntityMetadataInspector.php @@ -11,6 +11,7 @@ namespace JavierEguiluz\Bundle\EasyAdminBundle\Reflection; +use Doctrine\Common\Persistence\Mapping\ClassMetadata; use Symfony\Bridge\Doctrine\ManagerRegistry; /** @@ -31,7 +32,7 @@ public function __construct(ManagerRegistry $manager) * * @param string $entityClass * - * @return array + * @return ClassMetadata */ public function getEntityMetadata($entityClass) {