Skip to content

Commit

Permalink
Latte: added getIterator() to Nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 17, 2023
1 parent 395e335 commit 8356185
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Bridges/ApplicationLatte/Nodes/NNonceNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@ public function print(PrintContext $context): string
{
return 'echo $this->global->uiNonce ? " nonce=\"{$this->global->uiNonce}\"" : "";';
}


public function &getIterator(): \Generator
{
false && yield;
}
}

0 comments on commit 8356185

Please sign in to comment.