original_string: public function set_status($status, $message = null) {
          $this->status = $status;
          $this->message = is_null($message) ? $this->message : $message;
          $this->timeend = time();
      }
code: public function set_status($status, $message = null) {
          $this->status = $status;
          $this->message = is_null($message) ? $this->message : $message;
          $this->timeend = time();
      }
code_tokens: public function set_status ( $ status , $ message = null ) { $ this -> status = $ status ; $ this -> message = is_null ( $ message ) ? $ this -> message : $ message ; $ this -> timeend = time ( ) ; }
docstring: Sets the result status of the allocation
  
  @param int $status the status code, eg {@link self::STATUS_OK}
  @param string $message optional status message
docstring_tokens: Sets the result status of the allocation