1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Fix description of ReflectionParameter::getPosition() (GH-16738)

Appears to have been copied from `ReflectionParameter::isOptional()`.

[skip ci]
This commit is contained in:
DanielEScherzer
2024-11-09 06:32:53 -08:00
committed by GitHub
parent 07d4c541cb
commit 54003aecc4

View File

@@ -2827,7 +2827,7 @@ ZEND_METHOD(ReflectionParameter, getAttributes)
param->fptr->type == ZEND_USER_FUNCTION ? param->fptr->op_array.filename : NULL);
}
/* {{{ Returns whether this parameter is an optional parameter */
/* {{{ Returns the index of the parameter, starting from 0 */
ZEND_METHOD(ReflectionParameter, getPosition)
{
reflection_object *intern;