@@ -51,21 +51,21 @@ * * \param path The path to the file to open as a string * \param mode The mode in which the file should be opened as a string * \return A new autoreleased OFFile */ -+ fileWithPath: (OFString*)path - mode: (OFString*)mode; ++ (instancetype)fileWithPath: (OFString*)path + mode: (OFString*)mode; /** * \brief Creates a new OFFile with the specified file descriptor. * * \param fileDescriptor A file descriptor, returned from for example open(). * It is not closed when the OFFile object is deallocated! * \return A new autoreleased OFFile */ -+ fileWithFileDescriptor: (int)fileDescriptor; ++ (instancetype)fileWithFileDescriptor: (int)fileDescriptor; /** * \brief Returns the path fo the current working directory. * * \return The path of the current working directory