modifs.mineures sans commentaires
This commit is contained in:
parent
b7ea1985b3
commit
7782b1039c
|
@ -336,7 +336,10 @@ class cl {
|
|||
static final function merge2(...$arrays): ?array {
|
||||
$merged = null;
|
||||
foreach ($arrays as $array) {
|
||||
foreach (self::with($array) as $key => $value) {
|
||||
$array = self::withn($array);
|
||||
if ($array === null) continue;
|
||||
$merged ??= [];
|
||||
foreach ($array as $key => $value) {
|
||||
$merged[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue