Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: find/findFirst return type #16633

Open
mpadinhabrandao opened this issue Aug 9, 2024 · 0 comments
Open

[BUG]: find/findFirst return type #16633

mpadinhabrandao opened this issue Aug 9, 2024 · 0 comments
Labels
bug A bug report status: unverified Unverified

Comments

@mpadinhabrandao
Copy link

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

  • Phalcon version: 5.8.0
  • PHP Version: 8.1.29
  • Operating System: Rockylinux
  • Installation type: by pecl
  • Server: Nginx
@mpadinhabrandao mpadinhabrandao added bug A bug report status: unverified Unverified labels Aug 9, 2024
@niden niden changed the title [BUG]: [BUG]: find/findFirst return type Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: unverified Unverified
Projects
None yet
Development

No branches or pull requests

1 participant