Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.4] Null Morph Map ErrorException (#18921)
* [5.4] Null Morph Map ErrorException Currently, if you call `getActualClassNameForMorph` without the morph map set, it will through an error because `Relation::morphMap()` returns `null` instead of (what I would expect) `[]`. Is this expected behaviour? If so, why is this expected behaviour? * Create HasRelationships.php
- Loading branch information