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




``` Hack
public function setInlineComment(
  string $comment,
): this;
```




## Parameters




- ` string $comment `




## Returns




+ ` this `