[doc-en] master: Add missing constant tag for $flags param of Attribute::__construct()
| From: | Máté Kocsis | Date: | Sun, 08 Mar 2026 20:16:31 +0000 |
| Subject: | [doc-en] master: Add missing constant tag for $flags param of Attribute::__construct() | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23189@lists.php.net to get a copy of this message | ||
Author: Máté Kocsis (kocsismate)
Date: 2026-03-08T21:16:05+01:00
Commit: https://github.com/php/doc-en/commit/0eb433f1dec35ba1c0daf2d8b30b47f284ad5670
Raw diff: https://github.com/php/doc-en/commit/0eb433f1dec35ba1c0daf2d8b30b47f284ad5670.diff
Add missing constant tag for $flags param of Attribute::__construct()
Changed paths:
M language/predefined/attribute/construct.xml
Diff:
diff --git a/language/predefined/attribute/construct.xml
b/language/predefined/attribute/construct.xml
index c4a5b532d04d..5b627a5dc249 100644
--- a/language/predefined/attribute/construct.xml
+++ b/language/predefined/attribute/construct.xml
@@ -10,7 +10,7 @@
&reftitle.description;
<constructorsynopsis role="Attribute">
<modifier>public</modifier>
<methodname>Attribute::__construct</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer>Attribute::TARGET_ALL</initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>Attribute::TARGET_ALL</constant></initializer></methodparam>
</constructorsynopsis>
<para>
Constructs a new <classname>Attribute</classname> instance.