ZF2-467: Zend\Db\Sql\Predicate\Predicate::nest() @return type wrong in PHPDoc

Issue Type: Improvement Created: 2012-08-15T19:15:46.000+0000 Last Updated: 2012-08-20T20:57:58.000+0000 Status: Resolved Fix version(s): Reporter: Wolfgang Stengel (wstengel) Assignee: Maks 3w (maks3w) Tags: - Zend\Db

  • database

Related issues: - ZF2-459



Predicate::nest() is declared with @return PredicateSet, but actually returns Predicate. Having this fixed would make autocomplete in modern IDEs more convenient, because then chained functions like lessThan() etc. would be proposed correctly inside nested blocks.


Posted by Maks 3w (maks3w) on 2012-08-20T20:26:43.000+0000

Fixed, thank you for report the typo

Posted by Wolfgang Stengel (wstengel) on 2012-08-20T20:57:58.000+0000

Not at all, thank YOU for changing it.

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.