Add type in composer.json