public static function getReasonPhrase(int $statusCode): string
    {
        if (array_key_exists($statusCode, HttpStatus::REASON_PHRASES)) {
            return HttpStatus::REASON_PHRASES[$statusCode];
        }
        throw new \InvalidArgumentException("Invalid status code");
    }