The Bundesliga club says the Switzerland international passed a medical and signed the contract on Monday.
Arsenal centre-half Johan Djourou faces up to four weeks on the sidelines after it was confirmed his shoulder injury was not as serious as first feared, the club said on Tuesday.