We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2eb7f67 + ced098c commit 0342105Copy full SHA for 0342105
1 file changed
docs/_docs/classes/codegen-trait.md
@@ -5,7 +5,7 @@ layout: docs
5
permalink: /docs/classes/CodegenTrait/
6
---
7
8
-A `CodegenTrait` is created with `$factory->codegenInterface(name)`; it can
+A `CodegenTrait` is created with `$factory->codegenTrait(name)`; it can
9
be marked as implementing interfaces with
10
`->addInterface($codegen_implements_interface)`, and also adds two Hack-specific
11
features on top of `CodegenBaseClass`:
0 commit comments