From 5eb8df7432a708284862e4b126e418265d36b4ab Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 May 2022 18:49:09 +0200 Subject: [inc/Util] Add types, move error printing functions to their own class --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api.php') diff --git a/api.php b/api.php index 23328993..a40a0a1c 100644 --- a/api.php +++ b/api.php @@ -55,7 +55,7 @@ if (Module::isAvailable($module)) { } if (!file_exists($module)) { - Util::traceError('Invalid module, or module without API: ' . $module); + ErrorHandler::traceError('Invalid module, or module without API: ' . $module); } if (php_sapi_name() === 'cli') { register_shutdown_function(function() { -- cgit v1.2.3-55-g7522