@@ -41,13 +41,13 @@ * \param name The name of the attribute * \param ns The namespace of the attribute * \param value The string value of the attribute * \return A new autoreleased OFXMLAttribute with the specified parameters */ -+ attributeWithName: (OFString*)name - namespace: (OFString*)ns - stringValue: (OFString*)value; ++ (instancetype)attributeWithName: (OFString*)name + namespace: (OFString*)ns + stringValue: (OFString*)value; /** * \brief Initializes an already allocated OFXMLAttribute. * * \param name The name of the attribute