original_string: public function wrapRevision($history)
      {
          if ($history && $presenter = $this->getRevisionPresenter()) {
              return $presenter::make($history, $this);
          }
  
          return $history;
      }
code: public function wrapRevision($history)
      {
          if ($history && $presenter = $this->getRevisionPresenter()) {
              return $presenter::make($history, $this);
          }
  
          return $history;
      }
code_tokens: public function wrapRevision ( $ history ) { if ( $ history && $ presenter = $ this -> getRevisionPresenter ( ) ) { return $ presenter :: make ( $ history , $ this ) ; } return $ history ; }
docstring: Wrap revision model with the presenter if provided.
  
  @param \Sofa\Revisionable\Laravel\Revision|\Illuminate\Database\Eloquent\Collection $history
  
  @return \Sofa\Revisionable\Laravel\Presenter|\Sofa\Revisionable\Laravel\Revision
docstring_tokens: Wrap revision model with the presenter if provided .