ArrayHelper::toArray() now uses $properties parameter in recursive calls for descending objects
Merge pull request #5895 from otsec/array-helper-to-array-recursive-fix

Fix for recursive calls ArrayHelper::toArray() with objects