[php-src] master: Fix inline documentation of `ReflectionMethod::getClosure()`
Daniel Scherzer <[email protected]>
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-07-07T10:33:40-07:00
Commit: https://github.com/php/php-src/commit/5dfab102bd6edb92050a363d282b9c5aa19e1d0f
Raw diff: https://github.com/php/php-src/commit/5dfab102bd6edb92050a363d282b9c5aa19e1d0f.diff
Fix inline documentation of `ReflectionMethod::getClosure()`
Changed paths:
M ext/reflection/php_reflection.c
Diff:
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 37bbc40f08df..5d5c8eaeb038 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3364,7 +3364,7 @@ ZEND_METHOD(ReflectionMethod, __toString)
}
/* }}} */
-/* {{{ Invokes the function */
+/* {{{ Returns a dynamically created closure for the function */
ZEND_METHOD(ReflectionMethod, getClosure)
{
reflection_object *intern;