mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Revert "Declare the missing ReflectionMethod::$name property"
This reverts commit b0e83aabec.
The property is inherited from ReflectionFunctionAbstract.
This commit is contained in:
@@ -180,7 +180,6 @@ class ReflectionMethod extends ReflectionFunctionAbstract
|
||||
/** @cvalue ZEND_ACC_FINAL */
|
||||
public const int IS_FINAL = UNKNOWN;
|
||||
|
||||
public string $name;
|
||||
public string $class;
|
||||
|
||||
public function __construct(object|string $objectOrMethod, ?string $method = null) {}
|
||||
|
||||
8
ext/reflection/php_reflection_arginfo.h
generated
8
ext/reflection/php_reflection_arginfo.h
generated
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 3cd439907729e82e32b2d9137888350cfeffaa78 */
|
||||
* Stub hash: 11fcaa654fc0442e8338f6849b91aa2970b211b9 */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Reflection_getModifierNames, 0, 1, IS_ARRAY, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, modifiers, IS_LONG, 0)
|
||||
@@ -1328,12 +1328,6 @@ static zend_class_entry *register_class_ReflectionMethod(zend_class_entry *class
|
||||
zend_declare_typed_class_constant(class_entry, const_IS_FINAL_name, &const_IS_FINAL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
|
||||
zend_string_release(const_IS_FINAL_name);
|
||||
|
||||
zval property_name_default_value;
|
||||
ZVAL_UNDEF(&property_name_default_value);
|
||||
zend_string *property_name_name = zend_string_init("name", sizeof("name") - 1, 1);
|
||||
zend_declare_typed_property(class_entry, property_name_name, &property_name_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING));
|
||||
zend_string_release(property_name_name);
|
||||
|
||||
zval property_class_default_value;
|
||||
ZVAL_UNDEF(&property_class_default_value);
|
||||
zend_string *property_class_name = zend_string_init("class", sizeof("class") - 1, 1);
|
||||
|
||||
Reference in New Issue
Block a user