Fix Swiftlint warnings

This commit is contained in:
Gwendal Roué committed 2022-10-29 14:21:33 +02:00
1 parent 4f4553f4f0
commit a89dad2554
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ extension Database {
// Drop cached statements that delete, because the addition of an
// observer may change the need for truncate optimization prevention.
publicStatementCache.removeAll { $0.isDeleteStatement }
internalStatementCache.removeAll{ $0.isDeleteStatement }
internalStatementCache.removeAll { $0.isDeleteStatement }
observationBroker.add(transactionObserver: transactionObserver, extent: extent)
}
@@ -310,7 +310,7 @@ private class AssociationAggregatePreparation<RowDecoder> {
/// Prepares a request so that it can use association aggregates.
private class BasePreparation<Association: AssociationToMany>:
AssociationAggregatePreparation<Association.OriginRowDecoder> // swiftlint:disable:previous colon
AssociationAggregatePreparation<Association.OriginRowDecoder>
{
private let association: Association
private let expression: SQLExpression