Add title=”” to A PHP Code

Use the arguments available for the_post_thumbnail() function as written in the codex.

Edit: just did a test with this and it worked for me:

$post_title = the_title( '', '', false);//get the title
$attr = array('title' => $post_title);//set the parameter 
the_post_thumbnail('full', $attr);//call the function