-
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 |
---|---|---|
.. | ||
Builder.php | ||
EmbedsRelations.php | ||
HybridRelations.php | ||
Model.php | ||
SoftDeletes.php |