composer type error