original_string: public function run(JobInterface $job)
      {
          parent::run($job);
  
          if (!($job instanceof MappedJob)) {
              return $this;
          }
  
  
          $job->setResult(
              $this->mapper->map(
                  $job->getEntityRepository(),
                  $job->getMappedClass(),
                  $job->getResult()
              )
          );
  
          // allow chaining
          return $this;
      }
code: public function run(JobInterface $job)
      {
          parent::run($job);
  
          if (!($job instanceof MappedJob)) {
              return $this;
          }
  
  
          $job->setResult(
              $this->mapper->map(
                  $job->getEntityRepository(),
                  $job->getMappedClass(),
                  $job->getResult()
              )
          );
  
          // allow chaining
          return $this;
      }
code_tokens: public function run ( JobInterface $ job ) { parent :: run ( $ job ) ; if ( ! ( $ job instanceof MappedJob ) ) { return $ this ; } $ job -> setResult ( $ this -> mapper -> map ( $ job -> getEntityRepository ( ) , $ job -> getMappedClass ( ) , $ job -> getResult ( ) ) ) ; // allow chaining return $ this ; }
docstring: runs the parent job and then maps the result
  
  @param JobInterface $job the job to execute
  
  @return self
docstring_tokens: runs the parent job and then maps the result