Skip to content

Conversation

@ConnorVG
Copy link
Contributor

@ConnorVG ConnorVG commented Apr 24, 2017

Currently, if you call getActualClassNameForMorph without the morph map set, it will throw an error because Relation::morphMap() returns null instead of (what I would expect) [].

Is this expected behaviour? If so, why is this expected behaviour?

ConnorVG and others added 2 commits April 24, 2017 16:54
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?
@taylorotwell taylorotwell merged commit ab05609 into laravel:5.4 Apr 24, 2017
@ConnorVG ConnorVG deleted the patch-1 branch April 25, 2017 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants