fix(docs): fix bug in decorator example
Merge pull request #1243 from dannynelson/master

fix(docs): fix bug in decorator example