Specify return type

This commit is contained in:
Him188 2020-01-10 23:20:26 +08:00
parent 14ac929328
commit 1e6a41ca7c

View File

@ -6,7 +6,7 @@ import net.mamoe.mirai.qqandroid.utils.ContextImpl
import net.mamoe.mirai.utils.BotConfiguration
@Suppress("FunctionName")
internal fun QQAndroidBot(account: BotAccount, configuration: BotConfiguration) = QQAndroidBot(ContextImpl(), account, configuration)
internal fun QQAndroidBot(account: BotAccount, configuration: BotConfiguration): QQAndroidBot = QQAndroidBot(ContextImpl(), account, configuration)
internal actual class QQAndroidBot actual constructor(
context: Context,