[DOC-CVS] [doc-en] master: ReflectionAttribute: Link Attribute constants (fix #659)

[email protected] (Jakub Vrana)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Jakub Vrana (vrana)
Date: 2025-04-19T01:26:40+02:00

Commit: https://github.com/php/doc-en/commit/d368a4c8c426803e3c555b3f3bd248dac781cace
Raw diff: https://github.com/php/doc-en/commit/d368a4c8c426803e3c555b3f3bd248dac781cace.diff

ReflectionAttribute: Link Attribute constants (fix #659)

Changed paths:
  M  reference/reflection/reflectionattribute/gettarget.xml


Diff:

diff --git a/reference/reflection/reflectionattribute/gettarget.xml b/reference/reflection/reflectionattribute/gettarget.xml
index 61383a299e79..77c1233550c7 100644
--- a/reference/reflection/reflectionattribute/gettarget.xml
+++ b/reference/reflection/reflectionattribute/gettarget.xml
@@ -16,8 +16,6 @@
    Gets target of the attribute as bitmask.
   </para>
 
-  &warn.undocumented.func;
-
  </refsect1>
 
  <refsect1 role="parameters">
@@ -28,8 +26,9 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   <!-- TODO: we should add target constant Attribute::TARGET_METHOD, and so on... -->
-   Gets target of the attribute as bitmask.
+   Gets target of the attribute as bitmask of
+   <link linkend="attribute.constants"><constant>Attribute::TARGET_*</constant>
+   constants.</link>.
   </para>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.