From f5122d7dc11f1c0713b97233b353d765b7d17bee Mon Sep 17 00:00:00 2001 From: Corey Oliphant Date: Thu, 5 Dec 2024 15:28:43 -0600 Subject: [PATCH] Change PhraseGenerator from public to open so that users may inherit outside the module --- Sources/PhraseKit/PhraseGenerator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PhraseKit/PhraseGenerator.swift b/Sources/PhraseKit/PhraseGenerator.swift index faad389..a6b2306 100644 --- a/Sources/PhraseKit/PhraseGenerator.swift +++ b/Sources/PhraseKit/PhraseGenerator.swift @@ -9,7 +9,7 @@ import Foundation /// `PhraseGenerator` is a class designed to generate random, human-readable phrases /// composed of various parts of speech, such as adjectives, nouns, verbs, and adverbs. @available(iOS 12.0, macOS 10.14, macCatalyst 13.0, tvOS 12.0, watchOS 5.0, visionOS 1.0, *) -public class PhraseGenerator { +open class PhraseGenerator { /// A list of nouns used to generate phrases. internal var nouns: [String]