We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e4522 commit 5e92ff6Copy full SHA for 5e92ff6
src/Bridges/CacheLatte/CacheMacro.php
@@ -48,6 +48,9 @@ public function finalize()
48
*/
49
public function nodeOpened(Latte\MacroNode $node)
50
{
51
+ if ($node->modifiers) {
52
+ trigger_error('Modifiers are not allowed here.', E_USER_WARNING);
53
+ }
54
$this->used = TRUE;
55
$node->isEmpty = FALSE;
56
$node->openingCode = Latte\PhpWriter::using($node)
0 commit comments