From a022348e4768ae2d66e50772c5fa4447aefacd86 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 28 Aug 2018 20:13:46 +0200 Subject: [PATCH] Fix namespace --- Utils/ArrayUtils.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/ArrayUtils.php b/Utils/ArrayUtils.php index b87b6c5a1..d4487d8fd 100644 --- a/Utils/ArrayUtils.php +++ b/Utils/ArrayUtils.php @@ -102,10 +102,10 @@ final class ArrayUtils if ($overwrite) { $current = $value; - } elseif (\is_array($current) && !is_array($value)) { + } elseif (\is_array($current) && !\is_array($value)) { $current[] = $value; - } elseif (\is_array($current) && is_array($value)) { - $current = array_merge($current, $value); + } elseif (\is_array($current) && \is_array($value)) { + $current = \array_merge($current, $value); } elseif (\is_scalar($current) && $current !== null) { $current = [$current, $value]; } else {