[doc-en] master: Fix missing attribute for NoDiscard

From: Date: Thu, 05 Mar 2026 12:46:54 +0000
Subject: [doc-en] master: Fix missing attribute for NoDiscard
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23161@lists.php.net to get a copy of this message
Author: Máté Kocsis (kocsismate) Date: 2026-03-05T13:46:32+01:00 Commit: https://github.com/php/doc-en/commit/30bda33771e1c8fa8fc8a5ee7559fd7fa189caa0 Raw diff: https://github.com/php/doc-en/commit/30bda33771e1c8fa8fc8a5ee7559fd7fa189caa0.diff Fix missing attribute for NoDiscard Changed paths: M language/predefined/attributes/nodiscard.xml Diff: diff --git a/language/predefined/attributes/nodiscard.xml b/language/predefined/attributes/nodiscard.xml index f02b83c7634e..baf6c7b82822 100644 --- a/language/predefined/attributes/nodiscard.xml +++ b/language/predefined/attributes/nodiscard.xml @@ -38,6 +38,7 @@ <classsynopsis class="class"> <ooclass> + <modifier role="attribute">#[\Attribute]</modifier> <modifier>final</modifier> <classname>NoDiscard</classname> </ooclass>

« previous php.doc.cvs (#23161) next »