From d4fc00666b9bed30cfcda50d35cbe4b668fcc291 Mon Sep 17 00:00:00 2001 From: M <12033826+maksudr@users.noreply.github.com> Date: Tue, 19 Mar 2019 19:29:21 +0000 Subject: [PATCH] MDL-65038 core_files: Fix typo in function mock_response --- lib/filelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filelib.php b/lib/filelib.php index b096a5be1a9..bc3d19b0f15 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -3527,7 +3527,7 @@ class curl { if ((defined('PHPUNIT_TEST') && PHPUNIT_TEST)) { array_push(self::$mockresponses, $response); } else { - throw new coding_excpetion('mock_response function is only available for unit tests.'); + throw new coding_exception('mock_response function is only available for unit tests.'); } }