Riyad Mahrez has extended his stay at Manchester City.