src/Mediable.php
private function wherePivotTagIn(MorphToMany $q, $tags = [])
    {
        method_exists($q, 'wherePivotIn') ? $q->wherePivotIn('tag', $tags) : $q->whereIn($this->media()->getTable().'.tag', $tags);
    }
private function wherePivotTagIn(MorphToMany $q, $tags = [])
    {
        method_exists($q, 'wherePivotIn') ? $q->wherePivotIn('tag', $tags) : $q->whereIn($this->media()->getTable().'.tag', $tags);
    }
private function wherePivotTagIn ( MorphToMany $ q , $ tags = [ ] ) { method_exists ( $ q , 'wherePivotIn' ) ? $ q -> wherePivotIn ( 'tag' , $ tags ) : $ q -> whereIn ( $ this -> media ( ) -> getTable ( ) . '.tag' , $ tags ) ; }
perform a WHERE IN on the pivot table's tags column

Adds support for Laravel <= 5.2, which does not provide a `wherePivotIn()` method
@param  \Illuminate\Database\Eloquent\Relations\MorphToMany $q
@param  string|string[]                                     $tags
@return void
perform a WHERE IN on the pivot table s tags column