Skip to content

Commit

Permalink
Update API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli committed Mar 7, 2023
1 parent 460d0cb commit e95fd66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion WordPress/Classes/Models/PublicizeService+Lookup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ extension PublicizeService {
try? lookupPublicizeServiceNamed(name, in: context)
}


/// Returns an array of all cached `PublicizeService` objects.
///
/// - Returns: An array of `PublicizeService`. The array is empty if no objects are cached.
Expand Down
5 changes: 1 addition & 4 deletions WordPress/Classes/Models/SharingButton+Lookup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ extension SharingButton {

/// Returns an array of all cached `SharingButtons` objects.
///
/// - Parameters
/// - blog: A `Blog` object
///
/// - Returns: An array of `SharingButton`s. The array is empty if no objects are cached.
///
@objc(allSharingButtonsForBlog:inContext:error:)
Expand All @@ -18,7 +15,7 @@ extension SharingButton {
/// Finds a cached `SharingButton` by its `buttonID` for the specified `Blog`
///
/// - Parameters:
/// - buttonID: The button ID of the `sharingButton`.
/// - buttonID: The button ID of the `SharingButton`.
/// - blog: The blog that owns the sharing button.
///
/// - Returns: The requested `SharingButton` or nil.
Expand Down

0 comments on commit e95fd66

Please sign in to comment.