These changes help static analysers identify problems and make suggestions. For example, using @return OODBBean[] can provide type information even when iterating:
foreach ( R::findAll('book') as $book ) {
// IDEs now know $book's type and can make suggestions like auto-completion or help with method signatures
}
Various documentation fixes including:
PDOStatement
missing leading slash)@param
and@return
tagsOODBBean[]
instead ofarray
(see PHPDoc documentation)These changes help static analysers identify problems and make suggestions. For example, using
@return OODBBean[]
can provide type information even when iterating: