Skip to content

Commit 1303b5f

Browse files
authored
Remove duplicate use statement (#2525)
1 parent 23c396c commit 1303b5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Relations/BelongsToMany.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Database\Eloquent\Builder;
66
use Illuminate\Database\Eloquent\Collection;
77
use Illuminate\Database\Eloquent\Model;
8-
use Illuminate\Database\Eloquent\Model as EloquentModel;
98
use Illuminate\Database\Eloquent\Relations\BelongsToMany as EloquentBelongsToMany;
109
use Illuminate\Support\Arr;
1110

@@ -347,7 +346,7 @@ public function getRelatedKey()
347346
* @param string $key
348347
* @return string
349348
*/
350-
protected function whereInMethod(EloquentModel $model, $key)
349+
protected function whereInMethod(Model $model, $key)
351350
{
352351
return 'whereIn';
353352
}

0 commit comments

Comments
 (0)