Skip to content

Commit f3bf298

Browse files
committed
Fix zend_test
1 parent 2d6b28a commit f3bf298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zend_test/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ 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
{
956956
if (target != ZEND_ATTRIBUTE_TARGET_CLASS) {
957957
zend_error(E_COMPILE_ERROR, "Only classes can be marked with #[ZendTestAttribute]");

0 commit comments

Comments
 (0)