Skip to content

Commit 3100ebb

Browse files
committed
Fix broken documentation links
1 parent 1de5fff commit 3100ebb

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Sources/ATCommonTools/TypeScript-bound/IPLD.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public enum IPLD {
1616

1717
/// Converts a `Data` object to a CBOR block.
1818
///
19-
/// - Parameter value: The `Data` value to convert.
19+
/// - Parameter data: The `Data` value to convert.
2020
/// - Returns: A tuple, which contains the original data value, the encoded CBOR block, and the CID of
2121
/// the hashed value.
2222
///

Sources/ATCommonWeb/TypeScript-bound/DIDDocument.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,9 @@ public struct DIDDocument: Sendable, Codable {
164164

165165
/// Attempts to get the service endpoint for the DID document.
166166
///
167-
/// - Parameters:
168-
/// - options: A tuple, containing the `id` and `type`. Both arguments are of type `String`.
167+
/// - Parameter options: A tuple, containing the `id` and `type`. Both arguments are of type `String`.
169168
/// `type` is optional.
170-
/// - Returns: The URL of the service endpoint, or `nil` (if it can't find it).
169+
/// - Returns: The URL of the service endpoint, or `nil` (if it can't find it).
171170
public func getServiceEndpoint(options: (id: String, type: String?)) -> URL? {
172171
let service = self.service?.first { $0.id == options.id }
173172

0 commit comments

Comments
 (0)