Fixed docblock return type, closes #4057