Skip to content

Commit 49b4e45

Browse files
committed
Fix zend_test
1 parent 2d6b28a commit 49b4e45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/zend_test/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, ze
951951
return zend_std_get_static_method(ce, name, NULL);
952952
}
953953

954-
void zend_attribute_validate_zendtestattribute(zend_attribute *attr, uint32_t target, zend_class_entry *scope)
954+
void zend_attribute_validate_zendtestattribute(zend_attribute *attr, uint32_t target_type, zend_class_entry *scope, void *target, uint32_t offset)
955955
{
956-
if (target != ZEND_ATTRIBUTE_TARGET_CLASS) {
956+
if (target_type != ZEND_ATTRIBUTE_TARGET_CLASS) {
957957
zend_error(E_COMPILE_ERROR, "Only classes can be marked with #[ZendTestAttribute]");
958958
}
959959
}

0 commit comments

Comments
 (0)