From 5acf1adced79887439ec353bd410bd984b7be411 Mon Sep 17 00:00:00 2001 From: Stefano Sala Date: Fri, 15 Feb 2013 09:24:09 +0100 Subject: [PATCH] Just fixed some docblock --- Parser/JmsMetadataParser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Parser/JmsMetadataParser.php b/Parser/JmsMetadataParser.php index 090d224..ed5cb43 100644 --- a/Parser/JmsMetadataParser.php +++ b/Parser/JmsMetadataParser.php @@ -106,7 +106,7 @@ class JmsMetadataParser implements ParserInterface * Figure out a normalized data type (for documentation), and get a * nested class name, if available. * - * @param array|string $type + * @param PropertyMetadata $type * @return array */ protected function processDataType(PropertyMetadata $item) @@ -156,13 +156,13 @@ class JmsMetadataParser implements ParserInterface * Check the various ways JMS describes values in arrays, and * get the value type in the array * - * @param array|string $item + * @param PropertyMetadata $item * @return string|null */ - protected function getNestedTypeInArray($item) + protected function getNestedTypeInArray(PropertyMetadata $item) { if (is_array($item->type) - && in_array($item->type['name'], array('array')) + && in_array($item->type['name'], array('array')) // We have to support ArrayCollection as well && isset($item->type['params']) && 1 === count($item->type['params']) && isset($item->type['params'][0]['name'])) {