Closed psychopatt closed 2 years ago
I think there is an error in the documentation for findOneForUpdate : it states that it returns an array when it returns a single bean or null.
findOneForUpdate
https://github.com/gabordemooij/redbean/blob/f37c4cf4d0e646851720940fc53acdacfbdeba4e/RedBeanPHP/Facade.php#L812 I guess this line should be replaced with @return OODBBean|NULL as for findOne?
@return OODBBean|NULL
findOne
I think there is an error in the documentation for
findOneForUpdate
: it states that it returns an array when it returns a single bean or null.https://github.com/gabordemooij/redbean/blob/f37c4cf4d0e646851720940fc53acdacfbdeba4e/RedBeanPHP/Facade.php#L812 I guess this line should be replaced with
@return OODBBean|NULL
as forfindOne
?