Skip to content

Commit eb1373e

Browse files
committed
Revert "Fixed bug #74035"
This reverts commit 9ffc6ca.
1 parent f0519f4 commit eb1373e

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

ext/reflection/php_reflection.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4586,7 +4586,7 @@ ZEND_METHOD(reflection_class, isInstance)
45864586
}
45874587
/* }}} */
45884588

4589-
/* {{{ proto public stdclass ReflectionClass::newInstance([mixed* args], ...)
4589+
/* {{{ proto public stdclass ReflectionClass::newInstance(mixed* args, ...)
45904590
Returns an instance of this class */
45914591
ZEND_METHOD(reflection_class, newInstance)
45924592
{
@@ -6273,8 +6273,8 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_isInstance, 0)
62736273
ZEND_ARG_INFO(0, object)
62746274
ZEND_END_ARG_INFO()
62756275

6276-
ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_newInstance, 0, 0, 0)
6277-
ZEND_ARG_VARIADIC_INFO(0, args)
6276+
ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_newInstance, 0)
6277+
ZEND_ARG_INFO(0, args)
62786278
ZEND_END_ARG_INFO()
62796279

62806280
ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_newInstanceWithoutConstructor, 0)

ext/reflection/tests/ReflectionClass_toString_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Reflector ] {
252252
Method [ <internal:Reflection> public method newInstance ] {
253253

254254
- Parameters [1] {
255-
Parameter #0 [ <optional> ...$args ]
255+
Parameter #0 [ <required> $args ]
256256
}
257257
}
258258

ext/reflection/tests/bug74035.phpt

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)