From 88d9e21781f83550ef38df55bb7975281c94ea6b Mon Sep 17 00:00:00 2001 From: Morten Poul Jensen Date: Wed, 6 Mar 2019 15:33:59 +0100 Subject: [PATCH] Update according to Laravel 5.8 changes --- src/macros/joinRelation.php | 2 +- src/macros/leftJoinRelation.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macros/joinRelation.php b/src/macros/joinRelation.php index 21fb572..30fd22f 100644 --- a/src/macros/joinRelation.php +++ b/src/macros/joinRelation.php @@ -7,7 +7,7 @@ return $this->join( $relation->getRelated()->getTable(), - $relation->getQualifiedForeignKey(), + $relation->getQualifiedForeignKeyName(), $operator, $relation->getQualifiedOwnerKeyName() ); diff --git a/src/macros/leftJoinRelation.php b/src/macros/leftJoinRelation.php index 593b5b0..7456f3a 100644 --- a/src/macros/leftJoinRelation.php +++ b/src/macros/leftJoinRelation.php @@ -7,7 +7,7 @@ return $this->leftJoin( $relation->getRelated()->getTable(), - $relation->getQualifiedForeignKey(), + $relation->getQualifiedForeignKeyName(), $operator, $relation->getQualifiedOwnerKeyName() );