Added throw comment
Updated composer.json