diff --git a/ext/tensor/matrix.zep.h b/ext/tensor/matrix.zep.h index ba05d34..677ea66 100644 --- a/ext/tensor/matrix.zep.h +++ b/ext/tensor/matrix.zep.h @@ -731,7 +731,11 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_tensor_matrix_offsetget, 0, 1, I ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() +#if PHP_VERSION_ID >= 80000 +ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_tensor_matrix_getiterator, 0, 0, Traversable, 0) +#else ZEND_BEGIN_ARG_INFO_EX(arginfo_tensor_matrix_getiterator, 0, 0, 0) +#endif ZEND_END_ARG_INFO() ZEPHIR_INIT_FUNCS(tensor_matrix_method_entry) { diff --git a/ext/tensor/vector.zep.h b/ext/tensor/vector.zep.h index 0a8b0d7..c6c7bde 100644 --- a/ext/tensor/vector.zep.h +++ b/ext/tensor/vector.zep.h @@ -571,15 +571,22 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_tensor_vector_offsetexists, 0, 1 ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_tensor_vector_offsetunset, 0, 1, IS_VOID, 0) - ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() +#if PHP_VERSION_ID >= 80000 +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_tensor_vector_offsetget, 0, 1, IS_MIXED, 0) +#else ZEND_BEGIN_ARG_INFO_EX(arginfo_tensor_vector_offsetget, 0, 0, 1) +#endif ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() +#if PHP_VERSION_ID >= 80000 +ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_tensor_vector_getiterator, 0, 0, Traversable, 0) +#else ZEND_BEGIN_ARG_INFO_EX(arginfo_tensor_vector_getiterator, 0, 0, 0) +#endif ZEND_END_ARG_INFO() ZEPHIR_INIT_FUNCS(tensor_vector_method_entry) {