Possible data validation issues found

Hi everyone, I’m trying to fix my WordPress theme for requirements. The theme uses woo, there are lines like this

echo $product->get_image( ‘full’, [ ‘width’ => 530, ‘height’ => 480 ] ); ?>

it displays HTML, but the envato validator gives a warning about it.
what should I do? comment xss ok?