We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c396c commit 1303b5fCopy full SHA for 1303b5f
src/Relations/BelongsToMany.php
@@ -5,7 +5,6 @@
5
use Illuminate\Database\Eloquent\Builder;
6
use Illuminate\Database\Eloquent\Collection;
7
use Illuminate\Database\Eloquent\Model;
8
-use Illuminate\Database\Eloquent\Model as EloquentModel;
9
use Illuminate\Database\Eloquent\Relations\BelongsToMany as EloquentBelongsToMany;
10
use Illuminate\Support\Arr;
11
@@ -347,7 +346,7 @@ public function getRelatedKey()
347
346
* @param string $key
348
* @return string
349
*/
350
- protected function whereInMethod(EloquentModel $model, $key)
+ protected function whereInMethod(Model $model, $key)
351
{
352
return 'whereIn';
353
}
0 commit comments