[*] small fix
This commit is contained in:
1 parent
74b0b617a8
commit
913f51ddd1
3 files changed
+7
-17
No files matched your search
@@ -55,7 +55,7 @@
|
||||
*/
|
||||
public static function logToFile(
|
||||
string $message,
|
||||
string $filename = '',
|
||||
string $filename = 'core.log',
|
||||
$content = null,
|
||||
int $priority = LOG_DEBUG,
|
||||
string $system = null,
|
||||
|
||||
@@ -35,6 +35,11 @@
|
||||
SystemFunctions::sendTelegram('test task was completed');
|
||||
}
|
||||
|
||||
public static function testSleep(int $sec = 1) {
|
||||
sleep($sec);
|
||||
return 'sleep ' . $sec . ' sec.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws CoreException
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user