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




``` Hack
public function closeStatement(): this;
```




## Returns




- ` this `