diff --git a/Debug/TraceableMetadataFactory.php b/Debug/TraceableMetadataFactory.php index f5d2f69e..5b0a6d86 100644 --- a/Debug/TraceableMetadataFactory.php +++ b/Debug/TraceableMetadataFactory.php @@ -3,7 +3,9 @@ namespace JMS\SerializerBundle\Debug; use Metadata\AdvancedMetadataFactoryInterface; +use Metadata\ClassHierarchyMetadata; use Metadata\ClassMetadata; +use Metadata\MergeableClassMetadata; /** * @internal @@ -32,6 +34,9 @@ public function getAllClassNames(): array return $this->metadataFactory->getAllClassNames(); } + /** + * @return ClassHierarchyMetadata|MergeableClassMetadata|null + */ public function getMetadataForClass(string $className) { $metadata = $this->metadataFactory->getMetadataForClass($className);