-
Ben Argo authored
With ‘BelongsToMany’ relationships calling the function `Jenssegers\Mongodb\Eloquent\Model::has` can throw an ErrorException with ‘Array to string conversion’. By flattening the collection here we can avoid triggering the exception.
2263bc4f
Name |
Last commit
|
Last update |
---|---|---|
src/Jenssegers/Mongodb | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
README.md | ||
composer.json | ||
phpunit.xml.dist |