fix syntax in README.md

The `requires` statement should be in a `params` block according to #560.
Merge pull request #672 from qqshfox/patch-2

fix syntax in README.md