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




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




## Returns




+ ` int `