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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user