From e3fcd8aec44dabc1eab5ce0d3a7c398d55a5882a Mon Sep 17 00:00:00 2001 From: Alex Nachbaur Date: Fri, 6 Sep 2024 16:15:59 -0700 Subject: [PATCH] Updated more swiftlint rules --- .../Internal/ProvidesOAuth2Parameters+Extensions.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/AuthFoundation/OAuth2/Internal/ProvidesOAuth2Parameters+Extensions.swift b/Sources/AuthFoundation/OAuth2/Internal/ProvidesOAuth2Parameters+Extensions.swift index a881ca73f..30d5967ae 100644 --- a/Sources/AuthFoundation/OAuth2/Internal/ProvidesOAuth2Parameters+Extensions.swift +++ b/Sources/AuthFoundation/OAuth2/Internal/ProvidesOAuth2Parameters+Extensions.swift @@ -19,7 +19,8 @@ extension ProvidesOAuth2Parameters { extension Dictionary { @_documentation(visibility: private) - @inlinable public mutating func merge(_ oauth2Parameters: ProvidesOAuth2Parameters?) { + @inlinable + public mutating func merge(_ oauth2Parameters: ProvidesOAuth2Parameters?) { guard let oauth2Parameters = oauth2Parameters, let additionalParameters = oauth2Parameters.additionalParameters else { @@ -30,7 +31,8 @@ extension Dictionary { } @_documentation(visibility: private) - @inlinable public func merging(_ oauth2Parameters: ProvidesOAuth2Parameters?) -> [Key: Value] { + @inlinable + public func merging(_ oauth2Parameters: ProvidesOAuth2Parameters?) -> [Key: Value] { var result = self result.merge(oauth2Parameters) return result