public static function getReasonMessage(int $code): string
    {
        $code = static::filterStatusCode($code);

        if (! isset(self::$errorPhrases[$code])) {
            throw new OutOfBoundsException(\sprintf('Unknown http status code: `%s`.', $code));
        }

        return self::$errorPhrases[$code];
    }