Skip to content

Commit

Permalink
Updated more swiftlint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta committed Sep 6, 2024
1 parent 145153c commit e3fcd8a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ extension ProvidesOAuth2Parameters {

extension Dictionary<String, APIRequestArgument> {
@_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 {
Expand All @@ -30,7 +31,8 @@ extension Dictionary<String, APIRequestArgument> {
}

@_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
Expand Down

0 comments on commit e3fcd8a

Please sign in to comment.