diff --git a/doc/component/AST_builders.markdown b/doc/component/AST_builders.markdown index 5597e2a..1176a3e 100644 --- a/doc/component/AST_builders.markdown +++ b/doc/component/AST_builders.markdown @@ -37,7 +37,7 @@ $node = $factory->namespace('Name\Space') ->addStmt($factory->method('someMethod') ->makePublic() ->makeAbstract() // ->makeFinal() - ->setReturnType('bool') + ->setReturnType('bool') // ->makeReturnByRef() ->addParam($factory->param('someParam')->setTypeHint('SomeClass')) ->setDocComment('/** * This method does something. @@ -114,4 +114,4 @@ nodes. The following methods are currently available: * `concat(...$exprs)`: Create a tree of `BinaryOp\Concat` nodes for the given expressions. These methods may be expanded on an as-needed basis. Please open an issue or PR if a common -operation is missing. \ No newline at end of file +operation is missing.