Skip to content

[5.4] Update HasRelations::morphInstanceTo() - #18058

Merged
taylorotwell merged 1 commit into
laravel:5.4from
masterwto:patch-1
Feb 22, 2017
Merged

taylorotwell merged 1 commit into
laravel:5.4from
masterwto:patch-1

Conversation

@masterwto

Copy link
Copy Markdown
Contributor

I changed this line so that the static method getActualClassNameForMorph can be overridden.
In my case, the morph relationship is idetified by integers, so I rewrote the static method getActualClassNameForMorph.

I changed this line so that the static method getActualClassNameForMorph can be overridden.
In my case, the morph relationship is idetified by integers, so I rewrote the static method getActualClassNameForMorph.
@taylorotwell
taylorotwell merged commit 2f4135d into laravel:5.4 Feb 22, 2017
@GrahamCampbell GrahamCampbell changed the title Update HasRelations::morphInstanceTo() [5.4] Update HasRelations::morphInstanceTo() Feb 23, 2017
@masterwto
masterwto deleted the patch-1 branch February 23, 2017 05:02
salmanarshad321 pushed a commit to salmanarshad321/framework that referenced this pull request Sep 23, 2026
I changed this line so that the static method getActualClassNameForMorph can be overridden.
In my case, the morph relationship is idetified by integers, so I rewrote the static method getActualClassNameForMorph.
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