Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayterDev committed May 17, 2024
1 parent 4b87ff8 commit fe32fe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/TrackerRadarKit/ContentBlockerRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public struct ContentBlockerRule: Codable, Hashable {
return Trigger(urlFilter: filter, unlessDomain: urls, ifDomain: nil, resourceType: nil, loadType: loadTypes, loadContext: nil)
}

public static func trigger(urlFilter filter: String, resourceType types: [ResourceType]?, loadTypes: [LoadType]?, loadContext: [LoadContext]?) -> Trigger {
public static func trigger(urlFilter filter: String, resourceType types: [ResourceType]?,
loadTypes: [LoadType]?, loadContext: [LoadContext]?) -> Trigger {
return Trigger(urlFilter: filter, unlessDomain: nil, ifDomain: nil, resourceType: types, loadType: loadTypes, loadContext: loadContext)
}

Expand Down

0 comments on commit fe32fe8

Please sign in to comment.