From 8deecced55a53d93bb3879c13002ecec1ad53ef8 Mon Sep 17 00:00:00 2001 From: Tom Holmes Date: Tue, 11 Oct 2022 17:28:53 +0100 Subject: [PATCH 1/2] Fixes header docs --- Sources/Analytics/Analytics.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Analytics/Analytics.swift b/Sources/Analytics/Analytics.swift index c6dd52c..e2bf3fb 100644 --- a/Sources/Analytics/Analytics.swift +++ b/Sources/Analytics/Analytics.swift @@ -28,9 +28,9 @@ public struct Analytics: Sendable { /// Represents an observer that can respond to Analytics events. Generally this would represent your backend (e.g Firebase, etc) /// but you can also use this to provide logging and debugging features. public protocol AnalyticsObserver: AnyObject, Sendable { - /// A 'view' event was logged + /// A event was logged /// - Parameters: - /// - view: The `event` that was logged + /// - event: The `event` that was logged /// - values: All associated values (parameters) that were logged as a part of this event func log(event: AnalyticsEvent, values: AnalyticsValues) } From 9e6cd7ad02a567003d4e288c7b1b62b1a7f55d06 Mon Sep 17 00:00:00 2001 From: Shaps Date: Tue, 11 Oct 2022 17:37:06 +0100 Subject: [PATCH 2/2] Update Sources/Analytics/Analytics.swift --- Sources/Analytics/Analytics.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Analytics/Analytics.swift b/Sources/Analytics/Analytics.swift index e2bf3fb..319afcb 100644 --- a/Sources/Analytics/Analytics.swift +++ b/Sources/Analytics/Analytics.swift @@ -28,7 +28,7 @@ public struct Analytics: Sendable { /// Represents an observer that can respond to Analytics events. Generally this would represent your backend (e.g Firebase, etc) /// but you can also use this to provide logging and debugging features. public protocol AnalyticsObserver: AnyObject, Sendable { - /// A event was logged + /// An event was logged /// - Parameters: /// - event: The `event` that was logged /// - values: All associated values (parameters) that were logged as a part of this event