Skip to content

Commit a555e68

Browse files
committed
Latte: added getIterator() to Nodes
1 parent 1be2a25 commit a555e68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Bridges/ApplicationLatte/Nodes/NNonceNode.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,10 @@ public function print(PrintContext $context): string
2828
{
2929
return 'echo $this->global->uiNonce ? " nonce=\"{$this->global->uiNonce}\"" : "";';
3030
}
31+
32+
33+
public function &getIterator(): \Generator
34+
{
35+
false && yield;
36+
}
3137
}

0 commit comments

Comments
 (0)