[TASK] Improve nested error messages, fix array utility

This commit is contained in:
Philipp Dieter
2021-03-17 14:46:39 +01:00
parent 221eda9f44
commit 7d627c2530
2 changed files with 7 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ class ArrayUtility
{
foreach ($array as $key => &$value) {
if (is_array($value)) {
$value = [__CLASS__, __METHOD__]($value);
$value = self::removeEmptyStrings($value);
} else {
if (is_string($value) && !strlen($value)) {
unset($array[$key]);