original_string: public function deleteCode(Entity $userCode)
      {
          $entityManager = $this->entityManager;
          $entityManager->remove($userCode);
          $entityManager->flush();
      }
code: public function deleteCode(Entity $userCode)
      {
          $entityManager = $this->entityManager;
          $entityManager->remove($userCode);
          $entityManager->flush();
      }
code_tokens: public function deleteCode ( Entity $ userCode ) { $ entityManager = $ this -> entityManager ; $ entityManager -> remove ( $ userCode ) ; $ entityManager -> flush ( ) ; }
docstring: delete a userCode from database
  
  @param Entity $userCode
docstring_tokens: delete a userCode from database