From 508912899100cacd1c47a624f9e2960e215da794 Mon Sep 17 00:00:00 2001 From: Chris Pelzer Date: Mon, 10 Apr 2023 11:27:49 -0400 Subject: [PATCH] recursive on the options merge isn't needed as it would look merged the same keys rather than replace the keys if they exist. --- src/CKEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CKEditor.php b/src/CKEditor.php index 5fb2799..421d33f 100644 --- a/src/CKEditor.php +++ b/src/CKEditor.php @@ -43,7 +43,7 @@ public function options($options) $currentOptions = $this->meta['options'] ?? []; return $this->withMeta([ - 'options' => array_merge_recursive($currentOptions, $options), + 'options' => array_merge($currentOptions, $options), ]); }