original_string: public function getMessageType() {
      // Get message type
      $messageType = static::types()[$this->type];
      // If not incoming
      if ($this->type != static::INCOMING) {
        // Change to uppercase
        $messageType = strtoupper($messageType);
      }
      // Return
      return $messageType;
    }
code: public function getMessageType() {
      // Get message type
      $messageType = static::types()[$this->type];
      // If not incoming
      if ($this->type != static::INCOMING) {
        // Change to uppercase
        $messageType = strtoupper($messageType);
      }
      // Return
      return $messageType;
    }
code_tokens: public function getMessageType ( ) { // Get message type $ messageType = static :: types ( ) [ $ this -> type ] ; // If not incoming if ( $ this -> type != static :: INCOMING ) { // Change to uppercase $ messageType = strtoupper ( $ messageType ) ; } // Return return $ messageType ; }
docstring: Get message type
docstring_tokens: Get message type