---
layout: docs
title: getSpacesPerIndentation
id: interface.Facebook.HackCodegen.IHackCodegenConfig.getSpacesPerIndentation
docid: interface.Facebook.HackCodegen.IHackCodegenConfig.getSpacesPerIndentation
permalink: /docs/reference/interface.Facebook.HackCodegen.IHackCodegenConfig.getSpacesPerIndentation/
---
# Facebook\\HackCodegen\\IHackCodegenConfig::getSpacesPerIndentation()




``` Hack
public function getSpacesPerIndentation(): int;
```




## Returns




- ` int `