Skip to content

Commit

Permalink
Prettify documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneskod committed Dec 25, 2020
1 parent efd6a08 commit 6ad795b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ Or access all `Node::DELETE_MANDATE_REQUEST` nodes.
@include AutogiroFile
-->
```php
foreach ($node->getChild(Node::MANDATE_REQUEST_SECTION)->getChildren(Node::DELETE_MANDATE_REQUEST) as $child) {
$mandateRequests = $node->getChild(Node::MANDATE_REQUEST_SECTION);

foreach ($mandateRequests->getChildren(Node::DELETE_MANDATE_REQUEST) as $deleteRequest) {
// process...
}
```
Expand Down

0 comments on commit 6ad795b

Please sign in to comment.