Skip to content

Commit

Permalink
Manually fix remaining lints
Browse files Browse the repository at this point in the history
  • Loading branch information
cobward committed Oct 2, 2024
1 parent af934d6 commit 54daf1d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Sources/MobileSdk/Credential.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ extension Mdoc {
self.jsonEncodedDetailsInternal(containing: nil)
}

/// Access the specified elements in the mdoc, ignoring namespaces and missing elements that cannot be encoded as JSON.
/// Access the specified elements in the mdoc, ignoring namespaces and missing elements that cannot be encoded as
/// JSON.
public func jsonEncodedDetails(containing elementIdentifiers: [String]) -> [String: GenericJSON] {
self.jsonEncodedDetailsInternal(containing: elementIdentifiers)
}
Expand Down Expand Up @@ -75,8 +76,7 @@ extension JwtVc {

/// Access the specified claims from the W3C VCDM credential (not including the JWT envelope).
public func credentialClaims(containing claimNames: [String]) -> [String: GenericJSON] {
self.credentialClaims().filter {
(key, _) in
self.credentialClaims().filter { (key, _) in
claimNames.contains(key)
}
}
Expand All @@ -103,8 +103,7 @@ extension JsonVc {

/// Access the specified claims from the W3C VCDM credential.
public func credentialClaims(containing claimNames: [String]) -> [String: GenericJSON] {
self.credentialClaims().filter {
(key, _) in
self.credentialClaims().filter { (key, _) in
claimNames.contains(key)
}
}
Expand Down

0 comments on commit 54daf1d

Please sign in to comment.