From fdb6dbf61b790a87d59495d5ff4035ec478d6792 Mon Sep 17 00:00:00 2001 From: Benjamin Pisano Date: Tue, 21 May 2024 17:52:25 +0200 Subject: [PATCH] fixed public modifier --- Sources/StateKit/StateValidator/StateValidator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/StateKit/StateValidator/StateValidator.swift b/Sources/StateKit/StateValidator/StateValidator.swift index 26e48e7..7c73c42 100644 --- a/Sources/StateKit/StateValidator/StateValidator.swift +++ b/Sources/StateKit/StateValidator/StateValidator.swift @@ -25,10 +25,10 @@ public final class StateValidator<_State: State> { performValidation() } - func performValidation() { + public func performValidation() { currentState = getCurrentState() } - + private func observeValidators() { validators.forEach { validator in validator.shouldPerformValidation