Check if the result of WP_Image_Editor::save() is no error

Also some PHPDocs