Skip to content

Commit 52aebc9

Browse files
Added BFTask generics to header of PFSession
1 parent c67b8dc commit 52aebc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parse/PFSession.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ typedef void(^PFSessionResultBlock)(PFSession *PF_NULLABLE_S session, NSError *P
3737
3838
@returns A task that is `completed` with an instance of `PFSession` class or is `faulted` if the operation fails.
3939
*/
40-
+ (BFTask *)getCurrentSessionInBackground;
40+
+ (BFTask PF_GENERIC(PFSession *)*)getCurrentSessionInBackground;
4141

4242
/*!
4343
*Asynchronously* fetches a `PFSession` object related to the current user.

0 commit comments

Comments
 (0)