original_string: protected function newMorphTo(Builder $query, Model $parent, $foreignKey, $ownerKey, $type, $relation)
      {
          return new MorphTo($query, $parent, $foreignKey, $ownerKey, $type, $relation);
      }
code: protected function newMorphTo(Builder $query, Model $parent, $foreignKey, $ownerKey, $type, $relation)
      {
          return new MorphTo($query, $parent, $foreignKey, $ownerKey, $type, $relation);
      }
code_tokens: protected function newMorphTo ( Builder $ query , Model $ parent , $ foreignKey , $ ownerKey , $ type , $ relation ) { return new MorphTo ( $ query , $ parent , $ foreignKey , $ ownerKey , $ type , $ relation ) ; }
docstring: Instantiate a new MorphTo relationship.
  
  @param  \Illuminate\Database\Eloquent\Builder  $query
  @param  \Illuminate\Database\Eloquent\Model  $parent
  @param  string  $foreignKey
  @param  string  $ownerKey
  @param  string  $type
  @param  string  $relation
  @return \Illuminate\Database\Eloquent\Relations\MorphTo
docstring_tokens: Instantiate a new MorphTo relationship .