diff --git a/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift b/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift index 9ed9c0b51..61555a365 100644 --- a/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift +++ b/Modules/Parser/Sources/Parser/Utilities/String+Parser.swift @@ -14,7 +14,7 @@ extension String { return self.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? nil : self } - static func isEmptyOrNil(_ s: String?) { + static func isEmptyOrNil(_ s: String?) -> Bool { if let s { return s.isEmpty }