zendframework / zend-db

Db component from Zend Framework
BSD 3-Clause "New" or "Revised" License
101 stars 122 forks source link

docblock error in /zend-db/Sql/Predicate/PredicateSet.php::getPredicates() #38

Open hoppithek opened 9 years ago

hoppithek commented 9 years ago

The doc block states that an PredicateInterface[] will be returened. What is returned is a copy of the protected $predicates[] member. This array is populated by the orPredicateand andPredicate functions in such a way, that it is not an PredicateInterface[], but rather an array of [string, \Zend\Db\Sql\Predicate\Operator].

michalbundyra commented 4 years ago

This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at https://github.com/laminas/laminas-db/issues/139.