Fix method signature
Merge pull request #1539 from thSoft/patch-1

Fix method signature