diff --git a/ext/php_stub.h b/ext/php_stub.h
index 1b5391c9f..7b25d95b7 100644
--- a/ext/php_stub.h
+++ b/ext/php_stub.h
@@ -14,7 +14,7 @@
#define PHP_STUB_VERSION "1.0.0"
#define PHP_STUB_EXTNAME "stub"
#define PHP_STUB_AUTHOR "Phalcon Team and contributors"
-#define PHP_STUB_ZEPVERSION "0.16.0-$Id$"
+#define PHP_STUB_ZEPVERSION "0.16.2-$Id$"
#define PHP_STUB_DESCRIPTION "Description test for
Test Extension."
typedef struct _zephir_struct_db {
diff --git a/ext/stub/types/obj.zep.c b/ext/stub/types/obj.zep.c
index d2b119f0c..c7c5aea67 100644
--- a/ext/stub/types/obj.zep.c
+++ b/ext/stub/types/obj.zep.c
@@ -37,6 +37,16 @@ PHP_METHOD(Stub_Types_Obj, nullableObjectReturnObj)
+ object_init(return_value);
+ return;
+}
+
+PHP_METHOD(Stub_Types_Obj, objectReturn)
+{
+ zval *this_ptr = getThis();
+
+
+
object_init(return_value);
return;
}
diff --git a/ext/stub/types/obj.zep.h b/ext/stub/types/obj.zep.h
index 6854113fa..a799f6ff6 100644
--- a/ext/stub/types/obj.zep.h
+++ b/ext/stub/types/obj.zep.h
@@ -5,6 +5,7 @@ ZEPHIR_INIT_CLASS(Stub_Types_Obj);
PHP_METHOD(Stub_Types_Obj, nullableObjectReturnNull);
PHP_METHOD(Stub_Types_Obj, nullableObjectReturnObj);
+PHP_METHOD(Stub_Types_Obj, objectReturn);
#if PHP_VERSION_ID >= 80000
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stub_types_obj_nullableobjectreturnnull, 0, 0, MAY_BE_NULL|MAY_BE_OBJECT)
@@ -20,8 +21,16 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stub_types_obj_nullableobjectret
#endif
ZEND_END_ARG_INFO()
+#if PHP_VERSION_ID >= 80000
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stub_types_obj_objectreturn, 0, 0, MAY_BE_OBJECT)
+#else
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stub_types_obj_objectreturn, 0, 0, IS_OBJECT, 0)
+#endif
+ZEND_END_ARG_INFO()
+
ZEPHIR_INIT_FUNCS(stub_types_obj_method_entry) {
PHP_ME(Stub_Types_Obj, nullableObjectReturnNull, arginfo_stub_types_obj_nullableobjectreturnnull, ZEND_ACC_PUBLIC)
PHP_ME(Stub_Types_Obj, nullableObjectReturnObj, arginfo_stub_types_obj_nullableobjectreturnobj, ZEND_ACC_PUBLIC)
+ PHP_ME(Stub_Types_Obj, objectReturn, arginfo_stub_types_obj_objectreturn, ZEND_ACC_PUBLIC)
PHP_FE_END
};