[DOC-CVS] [doc-en] master: uri: Sync UrlValidationError::__construct() description with UrlValidationError properties (#5473)
[email protected] (Tim Düsterhus via GitHub) Mon, 6 Apr 2026 20:40:25 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Tim Düsterhus (TimWolla)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2026-04-06T22:40:22+02:00
Commit: https://github.com/php/doc-en/commit/ab4cf5ea8b49c1dac6b09fe6b6fee31eb12c3adc
Raw diff: https://github.com/php/doc-en/commit/ab4cf5ea8b49c1dac6b09fe6b6fee31eb12c3adc.diff
uri: Sync UrlValidationError::__construct() description with UrlValidationError properties (#5473)
Following php/doc-en#5472
Changed paths:
M reference/uri/uri/whatwg/urlvalidationerror/construct.xml
Diff:
diff --git a/reference/uri/uri/whatwg/urlvalidationerror/construct.xml b/reference/uri/uri/whatwg/urlvalidationerror/construct.xml
index a201d07c0292..3f57114beb98 100644
--- a/reference/uri/uri/whatwg/urlvalidationerror/construct.xml
+++ b/reference/uri/uri/whatwg/urlvalidationerror/construct.xml
@@ -33,7 +33,7 @@
<term><parameter>type</parameter></term>
<listitem>
<simpara>
- A <classname>Uri\WhatWg\UrlValidationErrorType</classname> instance.
+ The type of error.
</simpara>
</listitem>
</varlistentry>
@@ -41,7 +41,8 @@
<term><parameter>failure</parameter></term>
<listitem>
<simpara>
- Whether the error refers to a failure, or a soft-error.
+ If &true; the error caused the URL to be rejected as invalid. If &false;
+ the error is a soft error that was automatically corrected during parsing.
</simpara>
</listitem>
</varlistentry>