fix syntax in README.md

The `requires` statement should be in a `params` block according to #560.