original_string: public function scopeSuggestionsFor($query, string $type, array $tags)
      {
          return (new SuggestionQuery($query))->type($type)->apply($tags);
      }
code: public function scopeSuggestionsFor($query, string $type, array $tags)
      {
          return (new SuggestionQuery($query))->type($type)->apply($tags);
      }
code_tokens: public function scopeSuggestionsFor ( $ query , string $ type , array $ tags ) { return ( new SuggestionQuery ( $ query ) ) -> type ( $ type ) -> apply ( $ tags ) ; }
docstring: Returns suggestions for a given tags and type.
  
  @param  Illuminate\Database\Eloquent\Builder $query
  @param  string $type
  @param  array $tags
  
  @return Illuminate\Database\Eloquent\Builder
docstring_tokens: Returns suggestions for a given tags and type .