Hello,
$user = User::findById('545eb081631d16153a293a66');
- works fine if id exists.
- return Invalid object ID if no object with that id exists
Is that a bug?
Thanks
This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.
Hello,
$user = User::findById('545eb081631d16153a293a66');
Is that a bug?
Thanks