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'; }