Compare commits

...

2 Commits

Author SHA1 Message Date
Clemens Schwaighofer
f90bd193d9 Change setError to setMessage to make it clear what is the corret name 2023-09-08 18:54:44 +09:00
Clemens Schwaighofer
0e31180868 Rename setErrorMsgLevel to setError for backend calls 2023-09-08 18:47:44 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ final class CoreLibsLoggingErrorMessagesTest extends TestCase
'log_level' => Level::Debug,
]);
$em = new \CoreLibs\Logging\ErrorMessage($log);
$em->setErrorMsgLevel(
$em->setMessage(
$level,
$str
);

View File

@@ -110,7 +110,7 @@ class ErrorMessage
* @param string|null $message If abort/crash, non localized $str
* @param array<mixed> $context Additionl info for abort/crash messages
*/
public function setErrorMsgLevel(
public function setMessage(
string $level,
string $str,
?string $error_id = null,