Commit e18cc36
authored
Fix for getForeignKey() exception on Laravel > 5.8
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.81 parent a4111f0 commit e18cc36
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments