diff --git a/docs/reference.md b/docs/reference.md index 25f4741..7cdc37f 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -1959,7 +1959,7 @@ Various utilities dealing with AST * For example: * * ```php - * Node::fromArray([ + * AST::fromArray([ * 'kind' => 'ListValue', * 'values' => [ * ['kind' => 'StringValue', 'value' => 'my str'], diff --git a/src/Utils/AST.php b/src/Utils/AST.php index bbe1344..bc3a0e4 100644 --- a/src/Utils/AST.php +++ b/src/Utils/AST.php @@ -45,7 +45,7 @@ class AST * For example: * * ```php - * Node::fromArray([ + * AST::fromArray([ * 'kind' => 'ListValue', * 'values' => [ * ['kind' => 'StringValue', 'value' => 'my str'],