Fixed typo with after_commit docs

Fixed syntax error on `after_commit` docs
Merge pull request #12648 from chrisledet/patch-1

Fixed typo with after_commit docs