summaryrefslogtreecommitdiff
path: root/src/Metabox.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-02-02 19:59:20 +0100
committerDaniel Weipert <code@drogueronin.de>2021-02-02 19:59:20 +0100
commit2f3a7edc70004a75f0364f20ee68ab94da1afd2b (patch)
tree2ded815ea911b41e40034ce8e6a4b05b895a0a87 /src/Metabox.php
parent131e542d013d6c1932bbf477d6eba031cebd0276 (diff)
Replaces array_merge_recursive with array_replace_recursive
Diffstat (limited to 'src/Metabox.php')
-rw-r--r--src/Metabox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Metabox.php b/src/Metabox.php
index 4da3c4c..64f9bfb 100644
--- a/src/Metabox.php
+++ b/src/Metabox.php
@@ -150,7 +150,7 @@ class Metabox
}, $this->locations);
// merge with extra options
- $fieldGroup = array_merge_recursive([
+ $fieldGroup = array_replace_recursive([
'key' => $this->key,
'title' => $this->title,
'location' => $ruleGroups,