From 9c6fb95c72ef089941b2eabd54efd9becfae745c Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Thu, 16 Mar 2023 08:17:56 +0100 Subject: [PATCH] Remove duplicate use statement --- src/Relations/BelongsToMany.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Relations/BelongsToMany.php b/src/Relations/BelongsToMany.php index 2352adc50..824a45093 100644 --- a/src/Relations/BelongsToMany.php +++ b/src/Relations/BelongsToMany.php @@ -5,7 +5,6 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Model as EloquentModel; use Illuminate\Database\Eloquent\Relations\BelongsToMany as EloquentBelongsToMany; use Illuminate\Support\Arr; @@ -347,7 +346,7 @@ public function getRelatedKey() * @param string $key * @return string */ - protected function whereInMethod(EloquentModel $model, $key) + protected function whereInMethod(Model $model, $key) { return 'whereIn'; }