We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c812b14 + 9bc3d1c commit 450aba1Copy full SHA for 450aba1
README.md
@@ -27,7 +27,7 @@ var_dump($astNode);
27
// Gets and prints errors from AST Node. The parser handles errors gracefully,
28
// so it can be used in IDE usage scenarios (where code is often incomplete).
29
$errors = DiagnosticsProvider::getDiagnostics($astNode);
30
-var_dump(iterator_to_array($errors));
+var_dump($errors);
31
32
// Traverse all Node descendants of $astNode
33
foreach ($astNode->getDescendantNodes() as $descendant) {
0 commit comments