Skip to content

Commit 1220455

Browse files
committed
Use union to merge config
1 parent e14d13a commit 1220455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/di/src/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ public function getParam(string $path, string $delimiter = '.'): mixed
11801180
$parentValue = $this->parent->getParam($path, $delimiter);
11811181

11821182
if (is_array($parentValue)) {
1183-
$value = Arr::mergeRecursive($parentValue, $value);
1183+
$value = Arr::unionRecursive($parentValue, $value);
11841184
}
11851185
}
11861186

0 commit comments

Comments
 (0)