From b7972d23dc5d5b02310fc222e83318ca1d560ac2 Mon Sep 17 00:00:00 2001 From: Hedzer Date: Wed, 12 Jun 2024 14:37:41 +0200 Subject: [PATCH] no need to intersect iterable with Doctrine_Collection --- lib/Doctrine/Import/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];