try adding...
Nope :-)
The error is because the function hasn't been defined with a return Type, as Lars notes above.
As far as the returning nothing idea goes, if you don't implicitly return something, the default for that return Type is returned. So, for an Int you would get zero returned. For an Object, you would get Null returned.
HTH