We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If EntityCollection->getById() is called with a not existing id, the following exception is thrown:
EntityCollection->getById()
Uncaught ErrorException: Undefined array key 0
The method should return null (like getFirst()) instead of throwing an exception.
null
getFirst()
To Reproduce
Additional information AVOLUTIONS version: 0.9.0-alpha PHP version: 8.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
If
EntityCollection->getById()
is called with a not existing id, the following exception is thrown:The method should return
null
(likegetFirst()
) instead of throwing an exception.To Reproduce
EntityCollection->getById()
and pass a not existing idAdditional information
AVOLUTIONS version: 0.9.0-alpha
PHP version: 8.0
The text was updated successfully, but these errors were encountered: