diff --git a/src/Illuminate/Database/Eloquent/Relations/Relation.php b/src/Illuminate/Database/Eloquent/Relations/Relation.php index 7fea6b70d95b..af32aa6a7b0c 100755 --- a/src/Illuminate/Database/Eloquent/Relations/Relation.php +++ b/src/Illuminate/Database/Eloquent/Relations/Relation.php @@ -10,12 +10,14 @@ use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Database\MultipleRecordsFoundException; use Illuminate\Database\Query\Expression; +use Illuminate\Support\Traits\Conditionable; +use Illuminate\Support\Traits\Tappable; use Illuminate\Support\Traits\ForwardsCalls; use Illuminate\Support\Traits\Macroable; abstract class Relation implements BuilderContract { - use ForwardsCalls, Macroable { + use Conditionable, ForwardsCalls, Macroable, Tappable { Macroable::__call as macroCall; }