From 220b8530dafdd934a49f7e2e46b01275f04672c1 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Tue, 28 May 2024 16:23:59 -0400 Subject: [PATCH] Digital PCT265 story PCT-135: 'curent' comment typo. --- MVMCore/MVMCore/Models/Model/ModelProtocol.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCore/MVMCore/Models/Model/ModelProtocol.swift b/MVMCore/MVMCore/Models/Model/ModelProtocol.swift index ed9f5cf..8c85a64 100644 --- a/MVMCore/MVMCore/Models/Model/ModelProtocol.swift +++ b/MVMCore/MVMCore/Models/Model/ModelProtocol.swift @@ -52,7 +52,7 @@ extension ModelProtocol { } public protocol ModelComparisonProtocol { - /// Shallow checks if the curent model is equal to another model. Defaults to false unless implemented otherwise. + /// Shallow checks if the current model is equal to another model. Defaults to false unless implemented otherwise. func isEqual(to model: ModelComparisonProtocol) -> Bool } @@ -63,7 +63,7 @@ extension ModelComparisonProtocol { } public extension Optional { - /// Checks if the curent model is equal to another model. + /// Checks if the current model is equal to another model. func isEqual(to model: ModelComparisonProtocol?) -> Bool { guard let self = self as? ModelComparisonProtocol else { return model == nil @@ -86,7 +86,7 @@ public extension Collection { } public extension Optional where Wrapped: Collection { - /// Checks if the curent model is equal to another model. + /// Checks if the current model is equal to another model. func isEqual(to models: [ModelComparisonProtocol]?) -> Bool { guard let self = self as? [ModelComparisonProtocol] else { return models == nil