Fix "Arrow is redundant when parameter list is empty"

And other issues that ktlint now reports
This commit is contained in:
Benoit Marty 2025-10-30 13:29:33 +01:00 committed by Benoit Marty
parent ea616be814
commit eef0fbf4be
10 changed files with 41 additions and 29 deletions

View file

@ -34,7 +34,7 @@ class FakeNotificationCreator(
var createFallbackNotificationResult: LambdaOneParamRecorder<FallbackNotifiableEvent, Notification> = lambdaRecorder { _ -> A_NOTIFICATION },
var createSummaryListNotificationResult: LambdaFourParamsRecorder<MatrixUser, String, Boolean, Long, Notification> =
lambdaRecorder { _, _, _, _ -> A_NOTIFICATION },
var createDiagnosticNotificationResult: LambdaNoParamRecorder<Notification> = lambdaRecorder { -> A_NOTIFICATION },
var createDiagnosticNotificationResult: LambdaNoParamRecorder<Notification> = lambdaRecorder<Notification> { A_NOTIFICATION },
) : NotificationCreator {
override suspend fun createMessagesListNotification(
roomInfo: RoomEventGroupInfo,