updated doc block and made composer.json valid