@@ -61,16 +61,16 @@ * * @param firstObject The first object for the pair * @param secondObject The second object for the pair * @return An initialized OFPair */ -- initWithFirstObject: (nullable FirstType)firstObject - secondObject: (nullable SecondType)secondObject; +- (instancetype)initWithFirstObject: (nullable FirstType)firstObject + secondObject: (nullable SecondType)secondObject; #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) # undef FirstType # undef SecondType #endif @end OF_ASSUME_NONNULL_END #import "OFMutablePair.h"