[php-src] master: Fix inline documentation of `ReflectionType::allowsNull()`

Daniel Scherzer <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-07-07T10:33:39-07:00

Commit: https://github.com/php/php-src/commit/4795c51aecfb2315ee2087ce29896c72e0c22c3b
Raw diff: https://github.com/php/php-src/commit/4795c51aecfb2315ee2087ce29896c72e0c22c3b.diff

Fix inline documentation of `ReflectionType::allowsNull()`

Changed paths:
  M  ext/reflection/php_reflection.c


Diff:

diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index be0446e2302a..37bbc40f08df 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;
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.