Closed talal424 closed 3 years ago
This won't be correct, as v4.0
has a bug and returns false
instead of null
.
yeah i didn't know that
i'll convert this to a draft or delete it
No problem. I'll close. In case you have any another code suggestions - feel free to submit PR.
Hello!
In raising this pull request, I confirm the following (please check boxes):
Small description of change:
when generating a new model the
findFirst
method doesn't have a return type and results in a fatal errorfixed with adding return type compatible with Phalcon\Mvc\Model::findFirst
Thanks