mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-07 21:18:39 +00:00
Fix namespace
This commit is contained in:
parent
70610fbd70
commit
a022348e47
|
|
@ -102,10 +102,10 @@ final class ArrayUtils
|
||||||
|
|
||||||
if ($overwrite) {
|
if ($overwrite) {
|
||||||
$current = $value;
|
$current = $value;
|
||||||
} elseif (\is_array($current) && !is_array($value)) {
|
} elseif (\is_array($current) && !\is_array($value)) {
|
||||||
$current[] = $value;
|
$current[] = $value;
|
||||||
} elseif (\is_array($current) && is_array($value)) {
|
} elseif (\is_array($current) && \is_array($value)) {
|
||||||
$current = array_merge($current, $value);
|
$current = \array_merge($current, $value);
|
||||||
} elseif (\is_scalar($current) && $current !== null) {
|
} elseif (\is_scalar($current) && $current !== null) {
|
||||||
$current = [$current, $value];
|
$current = [$current, $value];
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user