diff --git a/Sources/Then/Then.swift b/Sources/Then/Then.swift index 5aa058d..6d11b5b 100644 --- a/Sources/Then/Then.swift +++ b/Sources/Then/Then.swift @@ -46,8 +46,8 @@ extension Then where Self: Any { /// $0.set("devxoul@gmail.com", forKey: "email") /// $0.synchronize() /// } - public func `do`(_ block: (Self) -> Void) { - block(self) + public func `do`(_ block: (Self) -> T) -> T { + return block(self) } }