Skip to content

Commit 889b3af

Browse files
committed
fix lint
1 parent f3ce270 commit 889b3af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ParseSwift/Types/CloudViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ open class CloudViewModel<T: ParseCloud>: CloudObservable {
2929
}
3030

3131
/// Updates and notifies when there is an error retrieving the results.
32-
open var error: ParseError? = nil {
32+
open var error: ParseError = nil {
3333
willSet {
3434
if newValue != nil {
3535
self.results = nil

Sources/ParseSwift/Types/QueryViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ open class QueryViewModel<T: ParseObject>: QueryObservable {
3838
}
3939

4040
/// Updates and notifies when there is an error retrieving the results.
41-
open var error: ParseError? = nil {
41+
open var error: ParseError = nil {
4242
willSet {
4343
if newValue != nil {
4444
results.removeAll()

0 commit comments

Comments
 (0)