Fix the doc for Parser for reflect the right signature

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-08-06 11:13:29 -03:00
parent f0ad61acd7
commit 9ff4b01ac5
1 changed files with 2 additions and 2 deletions

View File

@ -326,9 +326,9 @@ Every Parser class must implement these methods to work properly.
```js
/*
* The default constructor with Spec as parameter
* The default constructor with Parser as decorator
*/
Parser(Spec)
Parser(Parser)
/*
* Try to parse the payload to some event format