Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 0ac1dca

Browse files
committed
Replace incorrect useClass with useType in codegen-file docs
fixes #70
1 parent 76c8f72 commit 0ac1dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/classes/codegen-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can set the namespace of the file by calling `->setNamespace($ns)`; you can
3030
`use` declarations from other namespaces by calling:
3131

3232
- `->useNamespace(string $ns, ?string $as = null)`
33-
- `->useClass(string $ns, ?string $as = null)`
33+
- `->useType(string $ns, ?string $as = null)`
3434
- `->useFunction(string $ns, ?string $as = null)`
3535
- `->useConst(string $ns, ?string $as = null)`
3636

0 commit comments

Comments
 (0)