Skip to content

Commit

Permalink
recursive on the options merge isn't needed as it would look merged t…
Browse files Browse the repository at this point in the history
…he same keys rather than replace the keys if they exist.
  • Loading branch information
chrispelzer committed Apr 10, 2023
1 parent 6aa4e03 commit 5089128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CKEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]);
}

Expand Down

0 comments on commit 5089128

Please sign in to comment.