tighten / parental

Use single table inheritance in your Laravel app
MIT License
1.36k stars 98 forks source link

Update HasParent.php - addendum #113

Closed Smoggert closed 1 year ago

Smoggert commented 1 year ago

It seems the requested change to laravel got updated by the maintainer before merging, so the actual function name is different.

This fixes this.

Updated old PR X months ago with the proper function. Current implementation does not work due to namechange of the function.

https://github.com/laravel/framework/blame/9.x/src/Illuminate/Database/Eloquent/Collection.php#L692

For reference.