silence hlint warning about code duplication
although we later need to support type hints for function parameters