original_string: protected function newModelQuery($model = null)
      {
          return is_null($model)
                  ? $this->createModel()->newQuery()
                  : $model->newQuery();
      }
code: protected function newModelQuery($model = null)
      {
          return is_null($model)
                  ? $this->createModel()->newQuery()
                  : $model->newQuery();
      }
code_tokens: protected function newModelQuery ( $ model = null ) { return is_null ( $ model ) ? $ this -> createModel ( ) -> newQuery ( ) : $ model -> newQuery ( ) ; }
docstring: Get a new query builder for the model instance.
  
  @param  \Illuminate\Database\Eloquent\Model|null  $model
  @return \Illuminate\Database\Eloquent\Builder
docstring_tokens: Get a new query builder for the model instance .