[DC-789] Better documentation for the generated getInstance method in generated *Table.class.php files Created: 16/Jul/10  Updated: 16/Jul/10

Status: Open
Project: Doctrine 1
Component/s: Import/Export
Affects Version/s: 1.2.2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Christoph Berg Assignee: Jonathan H. Wage
Resolution: Unresolved Votes: 2
Labels: None

Symfony 1.4.6 with Doctrine 1.2.2 on Debian Linux 5.0


As stated in DC-518 the getInstance method is added in table classes generated by Doctrine 1.2.2. The problem is, that the word order is wrong for the parameter keyword to support auto completion in IDEs. At least the NetBeans IDE is not able to use this information properly.

As it is common to expect phpDocumentor comment syntax, the first word after the @param keyword specifies the type, which is in the current version object. It would be really helpful if the current form could be changed from

* @return object %s


* @return %s

as it was propossed in the above mentioned issue.

Generated at Wed Oct 07 04:38:21 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.