#1709: incorrect phpdoc @return on Doctrine_Record::exportTo
-----------------------------------+----------------------------------------
Reporter: dominicclifton | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: 1.0.5
Component: Attributes | Version: 1.0.4
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
{{{
/**
* exportTo
*
* @param string $type Format type: xml, yml, json
* @param string $deep Whether or not to export deep in to all
relationships
* @return void
*/
public function exportTo($type, $deep = true)
{
if ($type == 'array') {
return $this->toArray($deep);
} else {
return Doctrine_Parser::dump($this->toArray($deep, true),
$type);
}
}
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1709>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper