/** * Remove <> from the message id to ensure equality * * @param string $message_id * @return string */ private static function cleanUpMessageId($message_id) { return cleanup_mailgun_message_id($message_id); }
/** * @param \stdClass $response */ private static function cleanupResults(&$response) { // only keep what's necessary in the id key $response->http_response_body->id = cleanup_mailgun_message_id($response->http_response_body->id); }