.../src/Plugin/CKEditor4To5Upgrade/Contrib.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Contrib.php b/core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Contrib.php index 31e17fb2c6..ca24398b7b 100644 --- a/core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Contrib.php +++ b/core/modules/ckeditor5/src/Plugin/CKEditor4To5Upgrade/Contrib.php @@ -46,28 +46,14 @@ public function mapCKEditor4ToolbarButtonToCKEditor5ToolbarItem(string $cke4_but * {@inheritdoc} */ public function mapCKEditor4SettingsToCKEditor5Configuration(string $cke4_plugin_id, array $cke4_plugin_settings): ?array { - switch ($cke4_plugin_id) { - case NULL: - // Do Nothing. - break; - - default: - throw new \OutOfBoundsException(); - } + throw new \OutOfBoundsException(); } /** * {@inheritdoc} */ public function computeCKEditor5PluginSubsetConfiguration(string $cke5_plugin_id, FilterFormatInterface $text_format): ?array { - switch ($cke5_plugin_id) { - case NULL: - // Do Nothing. - break; - - default: - throw new \OutOfBoundsException(); - } + throw new \OutOfBoundsException(); } }