fix documentation
Merge pull request #318 from aaharu/fix-doc

Fixed param type in Text method