mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix description of ReflectionParameter::getPosition()
(GH-16738)
Appears to have been copied from `ReflectionParameter::isOptional()`. [skip ci]
This commit is contained in:
parent
07d4c541cb
commit
54003aecc4
1 changed files with 1 additions and 1 deletions
|
@ -2827,7 +2827,7 @@ ZEND_METHOD(ReflectionParameter, getAttributes)
|
||||||
param->fptr->type == ZEND_USER_FUNCTION ? param->fptr->op_array.filename : NULL);
|
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)
|
ZEND_METHOD(ReflectionParameter, getPosition)
|
||||||
{
|
{
|
||||||
reflection_object *intern;
|
reflection_object *intern;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue