We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 050b5b7 + 2987e22 commit 8410c6dCopy full SHA for 8410c6d
ext/di/injectable.c
@@ -598,12 +598,10 @@ PHP_METHOD(Phalcon_Di_Injectable, __sleep){
598
599
PHP_METHOD(Phalcon_Di_Injectable, __debugInfo){
600
601
- phalcon_get_object_vars(return_value, getThis(), 0);
602
- Z_DELREF_P(return_value);
+ phalcon_get_object_vars(return_value, getThis(), 1);
603
604
if (likely(!PHALCON_GLOBAL(debug).enable_debug)) {
605
phalcon_array_unset_str(return_value, SL("_dependencyInjector"), 0);
606
phalcon_array_unset_str(return_value, SL("_eventsManager"), 0);
607
}
608
- Z_TRY_ADDREF_P(return_value);
609
0 commit comments