docs(api/methods.jmd): fix syntax error #1061
[skip ci]