Closed netdjw closed 9 months ago
What Laravel version are you on? i can't find any reference to the morphTo::using()
method in laravel 10.x but i could be missing something.
There's nothing to do here, using
is only defined on the BelongsToMany
(and therefore MorphToMany
) relation.
Thank you guys! I'm really precious for your help!
--level
used: 2Description
I get this error:
Call to an undefined method Illuminate\Database\Eloquent\Relations\MorphTo<Domain\Product\Models\Color, Domain\Product\Models\Price>::using().
Laravel code where the issue was found
Is there any trick to fix this?