diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-02-02 19:59:20 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-02-02 19:59:20 +0100 |
commit | 2f3a7edc70004a75f0364f20ee68ab94da1afd2b (patch) | |
tree | 2ded815ea911b41e40034ce8e6a4b05b895a0a87 /src/MetaboxField.php | |
parent | 131e542d013d6c1932bbf477d6eba031cebd0276 (diff) |
Replaces array_merge_recursive with array_replace_recursive
Diffstat (limited to 'src/MetaboxField.php')
-rw-r--r-- | src/MetaboxField.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetaboxField.php b/src/MetaboxField.php index 8112d9b..4ace7b1 100644 --- a/src/MetaboxField.php +++ b/src/MetaboxField.php @@ -107,7 +107,7 @@ class MetaboxField public function add() { // merge with extra options - $field = array_merge_recursive([ + $field = array_replace_recursive([ 'key' => $this->key, 'label' => $this->names['label'], 'name' => $this->names['name'], |