return type of public method

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>