Parameter type hints

Change-Id: I74fee5aff8fc45d12c84abee62d43aedd206db44
Reviewed-on: https://gerrit.wikimedia.org/r/126964
Reviewed-by: Legoktm <legoktm.wikipedia@gmail.com>
Tested-by: Legoktm <legoktm.wikipedia@gmail.com>