Skip to content

Commit

Permalink
Finally correcting public version of system number for #14
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmurfin committed Aug 28, 2021
1 parent 8848641 commit f2d309e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OTPKit/Components/Producer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ final public class OTPProducer: Component {
- systemNumbers: Optional: An optional array of System Numbers to be reset.

*/
public func testOnlyResetTransformFolioNumbers(for systemNumbers: [SystemNumber]? = nil) {
public func testOnlyResetTransformFolioNumbers(for systemNumbers: [OTPSystemNumber]? = nil) {
Self.queue.sync(flags: .barrier) {
if let systemNumbers = systemNumbers {
transformFolios = transformFolios.enumerated().map { systemNumbers.contains(UInt8($0.offset)+1) ? FolioNumber.min : $0.element }
Expand Down

0 comments on commit f2d309e

Please sign in to comment.