remove duplicate type declaration in composer.json