@@ 236-240 (lines=5) @@ | ||
233 | if ($type && $type instanceof PHPClassOf) { |
|
234 | $tt = $type->getArg()->getType(); |
|
235 | $tag->setTypes($tt->getPhpType() . "[]"); |
|
236 | if ($p = $tt->isSimpleType()) { |
|
237 | if (($t = $p->getType())) { |
|
238 | $tag->setTypes($t->getPhpType() . "[]"); |
|
239 | } |
|
240 | } |
|
241 | } elseif ($type) { |
|
242 | ||
243 | if ($p = $type->isSimpleType()) { |
|
@@ 343-347 (lines=5) @@ | ||
340 | if ($type && $type instanceof PHPClassOf) { |
|
341 | $tt = $type->getArg()->getType(); |
|
342 | $tag->setTypes($tt->getPhpType() . "[]"); |
|
343 | if ($p = $tt->isSimpleType()) { |
|
344 | if (($t = $p->getType())) { |
|
345 | $tag->setTypes($t->getPhpType() . "[]"); |
|
346 | } |
|
347 | } |
|
348 | } elseif ($type) { |
|
349 | ||
350 | if ($type->isNativeType()) { |