original_string: public function cleanPassport($passport)
      {
          $response = $this->query($this->prepareUri('clean/passport'), [$passport]);
          $result = $this->populate(new Passport(), $response);
          if (!$result instanceof Passport) {
              throw new RuntimeException('Unexpected populate result: ' . get_class($result). '. Expected: ' . Passport::class);
          }
  
          return $result;
      }
code: public function cleanPassport($passport)
      {
          $response = $this->query($this->prepareUri('clean/passport'), [$passport]);
          $result = $this->populate(new Passport(), $response);
          if (!$result instanceof Passport) {
              throw new RuntimeException('Unexpected populate result: ' . get_class($result). '. Expected: ' . Passport::class);
          }
  
          return $result;
      }
code_tokens: public function cleanPassport ( $ passport ) { $ response = $ this -> query ( $ this -> prepareUri ( 'clean/passport' ) , [ $ passport ] ) ; $ result = $ this -> populate ( new Passport ( ) , $ response ) ; if ( ! $ result instanceof Passport ) { throw new RuntimeException ( 'Unexpected populate result: ' . get_class ( $ result ) . '. Expected: ' . Passport :: class ) ; } return $ result ; }
docstring: Cleans passport.
  
  @param string $passport
  
  @return Passport
  @throws RuntimeException
  @throws InvalidArgumentException
docstring_tokens: Cleans passport .