diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 884e133c5..7bb967eca 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -747,7 +747,7 @@ public function buildPhpDocs(array $definition) if (isset($relation['type']) && $relation['type'] == Doctrine_Relation::MANY) { $type = 'Doctrine_Collection'; if (!empty($relation['class'])) { - $type .= '&iterable<' . $relation['class'] . '>'; + $type .= '<' . $relation['class'] . '>'; } } else { $type = $this->_classPrefix . $relation['class'];