mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
Merge branch 'PHP-8.4'
* PHP-8.4: Fix the name of the initializer parameter of ReflectionClass::resetAsLazyGhost()
This commit is contained in:
commit
a087442259
@ -374,7 +374,7 @@ class ReflectionClass implements Reflector
|
||||
|
||||
public function newLazyProxy(callable $factory, int $options = 0): object {}
|
||||
|
||||
public function resetAsLazyGhost(object $object, callable $factory, int $options = 0): void {}
|
||||
public function resetAsLazyGhost(object $object, callable $initializer, int $options = 0): void {}
|
||||
|
||||
public function resetAsLazyProxy(object $object, callable $factory, int $options = 0): void {}
|
||||
|
||||
|
10
ext/reflection/php_reflection_arginfo.h
generated
10
ext/reflection/php_reflection_arginfo.h
generated
@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: dbb59b2dd53c2849f66c00ce12228ebb07f50773 */
|
||||
* Stub hash: 3c6be99bb36965139464925a618cb0bf03affa62 */
|
||||
|
||||
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)
|
||||
@ -301,11 +301,15 @@ ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ReflectionClass_resetAsLazyGhost, 0, 2, IS_VOID, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, factory, IS_CALLABLE, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, initializer, IS_CALLABLE, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
#define arginfo_class_ReflectionClass_resetAsLazyProxy arginfo_class_ReflectionClass_resetAsLazyGhost
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ReflectionClass_resetAsLazyProxy, 0, 2, IS_VOID, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, factory, IS_CALLABLE, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "0")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_ReflectionClass_initializeLazyObject, 0, 1, IS_OBJECT, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
||||
|
@ -354,7 +354,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Stringable, Refle
|
||||
|
||||
- Parameters [3] {
|
||||
Parameter #0 [ <required> object $object ]
|
||||
Parameter #1 [ <required> callable $factory ]
|
||||
Parameter #1 [ <required> callable $initializer ]
|
||||
Parameter #2 [ <optional> int $options = 0 ]
|
||||
}
|
||||
- Return [ void ]
|
||||
|
Loading…
Reference in New Issue
Block a user