Skip to content

Commit 51e18ae

Browse files
Roman KyrylenkoRoman Kyrylenko
Roman Kyrylenko
authored and
Roman Kyrylenko
committed
fixed type mismatch;
1 parent 1601019 commit 51e18ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/CoreData/CoreDataDBClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public protocol CoreDataModelConvertible: Stored {
2828

2929
- Returns: Mapped object.
3030
*/
31-
static func from(_ managedObject: NSManagedObject) -> Self
31+
static func from(_ managedObject: NSManagedObject) -> Stored
3232

3333
/**
3434
Executes backward mapping to `NSManagedObject` from given context

Source/Realm/RealmDBClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protocol RealmModelConvertible: Stored {
2727

2828
- Returns: Fulfilled model instance
2929
*/
30-
static func from(_ realmObject: Object) -> Self
30+
static func from(_ realmObject: Object) -> Stored
3131

3232
/**
3333
Executes backward mapping from `Realm.Object`

0 commit comments

Comments
 (0)