Commit 4795c51aecf for php.net
commit 4795c51aecfb2315ee2087ce29896c72e0c22c3b
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Thu Jul 2 10:57:27 2026 -0700
Fix inline documentation of `ReflectionType::allowsNull()`
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index be0446e2302..37bbc40f08d 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3058,7 +3058,7 @@ ZEND_METHOD(ReflectionParameter, isPromoted)
}
/* }}} */
-/* {{{ Returns whether parameter MAY be null */
+/* {{{ Returns whether the type MAY be null */
ZEND_METHOD(ReflectionType, allowsNull)
{
reflection_object *intern;