---
layout: docs
title: addReturnf
id: class.Facebook.HackCodegen.HackBuilder.addReturnf
docid: class.Facebook.HackCodegen.HackBuilder.addReturnf
permalink: /docs/reference/class.Facebook.HackCodegen.HackBuilder.addReturnf/
---
# Facebook\\HackCodegen\\HackBuilder::addReturnf()




``` Hack
public function addReturnf(
  HH\Lib\Str\SprintfFormatString $value,
  mixed ...$args,
): this;
```




## Parameters




- ` HH\Lib\Str\SprintfFormatString $value `
- ` mixed ...$args `




## Returns




+ ` this `