Skip to content

Commit ff12b0d

Browse files
committed
Z_PARAM_OBJECT_OF_CLASS_EX to Z_PARAM_OBJECT_OF_CLASS
1 parent f558659 commit ff12b0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_fibers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ ZEND_METHOD(Fiber, throw)
611611
zval *exception;
612612

613613
ZEND_PARSE_PARAMETERS_START(1, 1)
614-
Z_PARAM_OBJECT_OF_CLASS_EX(exception, zend_ce_throwable, 0, 0)
614+
Z_PARAM_OBJECT_OF_CLASS(exception, zend_ce_throwable)
615615
ZEND_PARSE_PARAMETERS_END();
616616

617617
fiber = (zend_fiber *) Z_OBJ_P(getThis());

ext/reflection/php_reflection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6759,7 +6759,7 @@ ZEND_METHOD(ReflectionFiber, __construct)
67596759
intern = Z_REFLECTION_P(object);
67606760

67616761
ZEND_PARSE_PARAMETERS_START(1, 1)
6762-
Z_PARAM_OBJECT_OF_CLASS_EX(fiber, zend_ce_fiber, 0, 0)
6762+
Z_PARAM_OBJECT_OF_CLASS(fiber, zend_ce_fiber)
67636763
ZEND_PARSE_PARAMETERS_END();
67646764

67656765
if (intern->ce) {

0 commit comments

Comments
 (0)