diff --git a/stubs/httpretty/httpretty/core.pyi b/stubs/httpretty/httpretty/core.pyi index d858deefecdb..6d7698f07e8f 100644 --- a/stubs/httpretty/httpretty/core.pyi +++ b/stubs/httpretty/httpretty/core.pyi @@ -132,9 +132,9 @@ class httpretty(HttpBaseClass): @classmethod def match_uriinfo(cls, info: URIInfo) -> tuple[Entry | None, list[str]]: ... @classmethod - def match_https_hostname(cls, hostname: str) -> bool: ... + def match_https_hostname(cls, hostname: str) -> URIMatcher | None: ... @classmethod - def match_http_address(cls, hostname: str, port: int) -> bool: ... + def match_http_address(cls, hostname: str, port: int) -> URIMatcher | None: ... @classmethod def record( cls,