From 85a482843c354fae58cea99b7fb1ace415fe60a2 Mon Sep 17 00:00:00 2001 From: Sleeping Owl Date: Fri, 14 Nov 2014 17:48:17 +0400 Subject: [PATCH] isRelationSupported moved to public --- src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php b/src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php index c015cd3..defd813 100644 --- a/src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php +++ b/src/SleepingOwl/WithJoin/WithJoinEloquentBuilder.php @@ -125,7 +125,7 @@ protected function isReferencedInQuery($name) * @param $relation * @return bool */ - protected function isRelationSupported($relation) + public function isRelationSupported($relation) { return $relation instanceof BelongsTo; }