Skip to content

Commit 3df487e

Browse files
authored
Replaced getAttribute with getProperty
1 parent 7ed51fd commit 3df487e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ foreach ($results as $result) {
203203
// Returns a Node
204204
$node = $result->get('node');
205205

206-
echo $node->getAttribute('id');
206+
echo $node->getProperty('id');
207207
echo $result->get('id');
208208
}
209209
```

0 commit comments

Comments
 (0)