mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix bug #81200 ReflectionMethod::isStatic belongs on ReflectionFunctionAbstract
This commit is contained in:
parent
4957b7c02b
commit
aad0d26816
5 changed files with 47 additions and 16 deletions
|
@ -3398,13 +3398,6 @@ ZEND_METHOD(ReflectionMethod, isProtected)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ Returns whether this method is static */
|
||||
ZEND_METHOD(ReflectionMethod, isStatic)
|
||||
{
|
||||
_function_check_flag(INTERNAL_FUNCTION_PARAM_PASSTHRU, ZEND_ACC_STATIC);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ Returns whether this function is deprecated */
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isDeprecated)
|
||||
{
|
||||
|
@ -3426,6 +3419,13 @@ ZEND_METHOD(ReflectionFunctionAbstract, isVariadic)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ Returns whether this function is static */
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, isStatic)
|
||||
{
|
||||
_function_check_flag(INTERNAL_FUNCTION_PARAM_PASSTHRU, ZEND_ACC_STATIC);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ Returns whether this function is defined in namespace */
|
||||
ZEND_METHOD(ReflectionFunctionAbstract, inNamespace)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue