original_string: public function getStatusOfTaskWithId($taskId)
      {
          $task = $this->taskRepo->find($taskId);
          if (!($task instanceof Task)) {
              //the task was not found
              return Task::STATUS_GONE;
          }
          return $task->getStatus();
      }
code: public function getStatusOfTaskWithId($taskId)
      {
          $task = $this->taskRepo->find($taskId);
          if (!($task instanceof Task)) {
              //the task was not found
              return Task::STATUS_GONE;
          }
          return $task->getStatus();
      }
code_tokens: public function getStatusOfTaskWithId ( $ taskId ) { $ task = $ this -> taskRepo -> find ( $ taskId ) ; if ( ! ( $ task instanceof Task ) ) { //the task was not found return Task :: STATUS_GONE ; } return $ task -> getStatus ( ) ; }
docstring: Returns the current status of a task
  
  @param integer $taskId
  @return string
docstring_tokens: Returns the current status of a task