Skip to content

Commit

Permalink
TexyModeMacro: do not use deprecated isEmpty property
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Dec 2, 2018
1 parent 38033c2 commit 4e2b076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/TexyLatte/TexyModeMacro.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function nodeOpened(MacroNode $node): void
}

$this->isUsed = true;
$node->isEmpty = false;
$node->empty = false;
$node->tokenizer->reset();
$node->openingCode = Latte\PhpWriter::using($node)
->write('<?php $this->global->texyModeStack[] = $this->global->texy->getMode(); $this->global->texy->setMode(%node.word); ?>');
Expand Down

0 comments on commit 4e2b076

Please sign in to comment.