Fix composer typing-error