original_string: public function applySorts(Builder $query, string $alias = null)
      {
          foreach ($this->getSorts() as $sort) {
              $sort->apply($query, $alias);
          }
      }
code: public function applySorts(Builder $query, string $alias = null)
      {
          foreach ($this->getSorts() as $sort) {
              $sort->apply($query, $alias);
          }
      }
code_tokens: public function applySorts ( Builder $ query , string $ alias = null ) { foreach ( $ this -> getSorts ( ) as $ sort ) { $ sort -> apply ( $ query , $ alias ) ; } }
docstring: Applies sorts Eloquent Query builder
  
  @param Builder     $query Eloquent query builder
  @param string|null $alias SQL alias
  
  @return void
docstring_tokens: Applies sorts Eloquent Query builder