added some missing type hints and phpdocs for Composer install scripts