Skip to content

Commit

Permalink
minor naming fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Stepanenko committed Jun 2, 2017
1 parent 1823d47 commit dba5ac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dekoter/Classes/JSONSerialization+Dekoter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ extension JSONSerialization {
fileprivate extension JSONSerialization {

class func de_serializedObject<T: Dekoting>(from dict: [AnyHashable: Any]) -> T? {
let coder = Koter(objects: dict)
guard let object = T(koter: coder) else {
let koter = Koter(objects: dict)
guard let object = T(koter: koter) else {
return nil
}
return object
Expand Down

0 comments on commit dba5ac4

Please sign in to comment.