Nani had been due to be out of contract at the end of this season .
Nani returned from injury with a substitute appearance against Liverpool at Anfield last Sunday .
Nani , who returned from injury with a substitute appearance against Liverpool at Anfield last Sunday , had been due to be out of contract at the end of this season .