From 52f6be81cb8b06d095ee9d1b300b90b08e9ed523 Mon Sep 17 00:00:00 2001
From: qodelicious <162776175+qodelicious@users.noreply.github.com>
Date: Mon, 19 Oct 2026 02:07:25 +0000
Subject: [PATCH] Clarify ReflectionAttribute::IS_INSTANCEOF description
---
reference/reflection/reflectionattribute.xml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/reference/reflection/reflectionattribute.xml b/reference/reflection/reflectionattribute.xml
index 95790fd5fd17..f938d74fd9f7 100644
--- a/reference/reflection/reflectionattribute.xml
+++ b/reference/reflection/reflectionattribute.xml
@@ -81,10 +81,16 @@
int
-
+
Retrieve attributes using an
instanceof check.
-
+ Used as the flags argument of
+ ReflectionClass::getAttributes and the
+ equivalent methods of the other reflection classes. When set, the
+ name argument matches attributes whose class is
+ the given class or a subclass of it, or implements the given
+ interface, instead of only matching the exact class name.
+