phalcon / cphalcon

High performance, full-stack PHP framework delivered as a C extension.
https://phalcon.io
BSD 3-Clause "New" or "Revised" License
10.79k stars 1.96k forks source link

[BUG]: find/findFirst return type #16633

Open mpadinhabrandao opened 3 months ago

mpadinhabrandao commented 3 months ago

I test update project from Phalcon 5.6.1 to Phalcon 5.8 but i have a fatal error with Phalcon\Mvc\Model::find. Now find function don't have return value, but um 5.6.1 has. The change has add in https://github.com/phalcon/cphalcon/pull/16578/files. (5.6.2 -> 5.7.0), I read the reliases and don't find reference to this change :/ in this PR, remove de return type, why? 🙂

To Reproduce When extends \Phalcon\Mvc\Model have the error

Details