@@ -70,22 +70,22 @@ */ + (instancetype)exceptionWithObject: (id)object key: (OFString *)key value: (nullable id)value; -- init OF_UNAVAILABLE; +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated undefined key exception. * * @param object The object on which the key is undefined * @param key The key which is undefined * * @return An initialized undefined key exception */ -- initWithObject: (id)object - key: (OFString *)key; +- (instancetype)initWithObject: (id)object + key: (OFString *)key; /*! * @brief Initializes an already allocated undefined key exception. * * @param object The object on which the key is undefined @@ -92,11 +92,11 @@ * @param key The key which is undefined * @param value The value for the undefined key * * @return An initialized undefined key exception */ -- initWithObject: (id)object - key: (OFString *)key - value: (nullable id)value OF_DESIGNATED_INITIALIZER; +- (instancetype)initWithObject: (id)object + key: (OFString *)key + value: (nullable id)value OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END