From e96db7beeced67990a8b2e66bd34d8c2badf945b Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Thu, 18 Jul 2024 14:49:48 +0100 Subject: [PATCH] MDL-82530 core: Fix spelling --- lib/classes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/formatting.php b/lib/classes/formatting.php index a003e6b5ef2..0ddb299f656 100644 --- a/lib/classes/formatting.php +++ b/lib/classes/formatting.php @@ -277,7 +277,7 @@ class formatting { $text = $filtermanager->filter_text($text, $context, $filteroptions); break; default: // FORMAT_MOODLE or anything else. - throw new \coding_exception("Unkown format passed to format_text: {$format}"); + throw new \coding_exception("Unknown format passed to format_text: {$format}"); } if ($filter) {