removed --no-dev from composer install and fixed a type