Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrex committed May 13, 2021
1 parent f1848e3 commit 7abf192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/MapboxMaps/Location/LocationStyleDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ internal protocol LocationStyleDelegate: AnyObject {
func addSource(_ source: Source, id: String) throws
func removeSource(withId id: String) throws
func setSourceProperty(for sourceId: String, property: String, value: Any) throws

//swiftlint:disable function_parameter_count
func addImage(_ image: UIImage, id: String, sdf: Bool, stretchX: [ImageStretches], stretchY: [ImageStretches], content: ImageContent?) throws
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ class MockLocationStyleDelegate: LocationStyleDelegate {
func addSource(_ source: Source, id: String) throws {}
func removeSource(withId id: String) throws {}
func setSourceProperty(for sourceId: String, property: String, value: Any) throws {}

//swiftlint:disable function_parameter_count
func addImage(_ image: UIImage, id: String, sdf: Bool, stretchX: [ImageStretches], stretchY: [ImageStretches], content: ImageContent?) throws {}
}

0 comments on commit 7abf192

Please sign in to comment.