mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-14 07:28:41 +00:00
Fix namespace
This commit is contained in:
parent
70610fbd70
commit
a022348e47
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user