"I am delighted it has been resolved," Rovers boss Mark Hughes has said.
"Ryan was magnificent for us after arriving in January, establishing himself as a major figure in our plans."
"Prior to the work permit hearing, we had already talked to him in detail about a new three-year contract and now we can set about the job of finalising all of that."