lib/Php/PhpConverter.php 1 location
|
@@ 422-426 (lines=5) @@
|
419 |
|
return $this->visitElementDef($node->getReferencedElement()); |
420 |
|
} |
421 |
|
|
422 |
|
if (!$node->getType()->getName()) { |
423 |
|
return $this->visitTypeAnonymous($node->getType(), $node->getName(), $class); |
424 |
|
} else { |
425 |
|
return $this->visitType($node->getType(), $force); |
426 |
|
} |
427 |
|
} |
428 |
|
} |
429 |
|
|
lib/Jms/YamlConverter.php 1 location
|
@@ 486-490 (lines=5) @@
|
483 |
|
if ($valueProp = $this->typeHasValue($type, $class, '')) { |
484 |
|
return $valueProp; |
485 |
|
} |
486 |
|
if (!$node->getType()->getName()) { |
487 |
|
$visited = $this->visitTypeAnonymous($node->getType(), $node->getName(), $class); |
488 |
|
} else { |
489 |
|
$visited = $this->visitType($node->getType()); |
490 |
|
} |
491 |
|
|
492 |
|
return key($visited); |
493 |
|
} |