ZF-10439: Invalid phpdoc @param type: constant

Issue Type: Coding Standards Violation Created: 2010-09-10T05:00:09.000+0000 Last Updated: 2010-10-26T05:50:01.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Michael Kliewe (mkliewe) Assignee: Marc Hodgins (mjh_ca) Tags: - Zend_Db

Related issues: Attachments: - ZF-10439.patch


In the phpdoc comments of Zend_Db_Select for functions where() and orWhere() there is a line @param constant $type

"constant" is not allowed here, it has to be "int". My IDE thinks an object of class "constant" is needed there and reports wrong parameter usage.


Posted by Marc Hodgins (mjh_ca) on 2010-10-25T19:35:01.000+0000

Patch attached.

Posted by Matthew Weier O'Phinney (matthew) on 2010-10-26T05:50:00.000+0000

Patch applied to trunk and 1.11 release branch -- thanks!

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.