This should be `WP_Image_Editor`, however the reason it went to mixed is because we return `null` in `if ( empty( $args['watermark_options']['pre_resize'] ) )` which is actually a bug, that should return `$editor` rather than `null`.