fix type in composer.json