Skip to content

Commit f439fea

Browse files
committed
Z_PARAM_OBJECT_OF_CLASS_EX to Z_PARAM_OBJECT_OF_CLASS
1 parent 97f45be commit f439fea

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
@@ -6758,7 +6758,7 @@ ZEND_METHOD(ReflectionFiber, __construct)
67586758
intern = Z_REFLECTION_P(object);
67596759

67606760
ZEND_PARSE_PARAMETERS_START(1, 1)
6761-
Z_PARAM_OBJECT_OF_CLASS_EX(fiber, zend_ce_fiber, 0, 0)
6761+
Z_PARAM_OBJECT_OF_CLASS(fiber, zend_ce_fiber)
67626762
ZEND_PARSE_PARAMETERS_END();
67636763

67646764
if (intern->ce) {

0 commit comments

Comments
 (0)