diff --git a/core/lib/Core/Models/MQ.class.php b/core/lib/Core/Models/MQ.class.php index 6a38e19..7cd0146 100644 --- a/core/lib/Core/Models/MQ.class.php +++ b/core/lib/Core/Models/MQ.class.php @@ -81,10 +81,10 @@ * @return int * @throws \Core\CoreException */ - public static function test2(): int + public static function test2(): string { sleep(5); - return Log::logToFile('Тестирование2', 'MQ_test.log', func_get_args()); + return 'Logged ' . Log::logToFile('Тестирование2', 'MQ_test.log', func_get_args()) . ' bytes'; } /**