diff --git a/ext/uri/uri_parser_whatwg.c b/ext/uri/uri_parser_whatwg.c index ad31d1d12b5b8..2209db0393426 100644 --- a/ext/uri/uri_parser_whatwg.c +++ b/ext/uri/uri_parser_whatwg.c @@ -59,9 +59,6 @@ static zend_always_inline void zval_long_or_null_to_lexbor_str(zval *value, lexb * Creates a Uri\WhatWg\UrlValidationError class by mapping error codes listed in * https://url.spec.whatwg.org/#writing to a Uri\WhatWg\UrlValidationErrorType enum. * The result is passed by reference to the errors parameter. - * - * When errors is NULL, the caller is not interested in the additional error information, - * so the function does nothing. */ static const char *fill_errors(zval *errors) {