Closed SvenSlijkoord closed 5 years ago
Fix for exception: Exception: Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKey() on Laravel >= 5.8 while still maintaining backwards compatibility with Laravel < 5.8
Exception: Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKey()
Good spot. We need tests! 😱
Fix for exception:
Exception: Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getForeignKey()
on Laravel >= 5.8 while still maintaining backwards compatibility with Laravel < 5.8