original_string: public function applyRelationSorts(string $relationName, string $alias, Builder $query)
      {
          foreach ($this->getRelationSorts($relationName) as $sorts) {
              $sorts->apply($query, $alias);
          }
      }
code: public function applyRelationSorts(string $relationName, string $alias, Builder $query)
      {
          foreach ($this->getRelationSorts($relationName) as $sorts) {
              $sorts->apply($query, $alias);
          }
      }
code_tokens: public function applyRelationSorts ( string $ relationName , string $ alias , Builder $ query ) { foreach ( $ this -> getRelationSorts ( $ relationName ) as $ sorts ) { $ sorts -> apply ( $ query , $ alias ) ; } }
docstring: Applies sorts Eloquent Query builder for relation
  
  @param string  $relationName Relation name
  @param string  $alias        SQL alias
  @param Builder $query        Eloquent query builder
  
  @return void
docstring_tokens: Applies sorts Eloquent Query builder for relation