diff --git a/src/Bridges/ApplicationLatte/Nodes/NNonceNode.php b/src/Bridges/ApplicationLatte/Nodes/NNonceNode.php index d5a04253b..04176f4b8 100644 --- a/src/Bridges/ApplicationLatte/Nodes/NNonceNode.php +++ b/src/Bridges/ApplicationLatte/Nodes/NNonceNode.php @@ -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; + } }