From 1e97006c025e6461d86bf2832889f0d7b7a63665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matu=CC=81s=CC=8C=20Tomlein?= Date: Fri, 1 Dec 2023 15:37:46 +0100 Subject: [PATCH] Review comments --- Sources/Core/Emitter/Emitter.swift | 2 +- Sources/Core/Tracker/Tracker.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Core/Emitter/Emitter.swift b/Sources/Core/Emitter/Emitter.swift index ce3c9f5d4..1c51f973b 100644 --- a/Sources/Core/Emitter/Emitter.swift +++ b/Sources/Core/Emitter/Emitter.swift @@ -22,7 +22,7 @@ class Emitter: EmitterEventProcessing { private var pausedEmit = false - /// Custom NetworkConnection istance to handle connection outside the emitter. + /// Custom NetworkConnection instance to handle connection outside the emitter. private let networkConnection: NetworkConnection /// Tracker namespace – required by SQLiteEventStore to name the database diff --git a/Sources/Core/Tracker/Tracker.swift b/Sources/Core/Tracker/Tracker.swift index fc6b001c8..d3268468a 100644 --- a/Sources/Core/Tracker/Tracker.swift +++ b/Sources/Core/Tracker/Tracker.swift @@ -395,7 +395,7 @@ class Tracker: NSObject { /// Tracks an event despite its specific type. /// - Parameter event: The event to track - /// - Returns: The event ID or nil in case tracking is paused + /// - Returns: The event ID func track(_ event: Event, eventId: UUID = UUID()) -> UUID { InternalQueue.onQueuePrecondition()