fix(hook): review
Merge pull request #7 from txiki31/documentation

fix(hook): review