@@ -76,8 +76,8 @@ discard block |
||
76 | 76 | protected array $blocks = []; |
77 | 77 | |
78 | 78 | /** |
79 | - * {@inheritdoc} |
|
80 | - */ |
|
79 | + * {@inheritdoc} |
|
80 | + */ |
|
81 | 81 | public function __construct(string $markup, array &$tokens, Parser $parser) |
82 | 82 | { |
83 | 83 | //Initialize |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | - * {@inheritdoc} |
|
93 | - */ |
|
92 | + * {@inheritdoc} |
|
93 | + */ |
|
94 | 94 | public function render(Context $context): string |
95 | 95 | { |
96 | 96 | $context->push(); |
@@ -216,8 +216,8 @@ discard block |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |
219 | - * {@inheritdoc} |
|
220 | - */ |
|
219 | + * {@inheritdoc} |
|
220 | + */ |
|
221 | 221 | protected function unknownTag(string $tag, string $param, array $tokens): void |
222 | 222 | { |
223 | 223 | if ($tag === 'else' || $tag === 'elseif') { |
@@ -60,8 +60,7 @@ discard block |
||
60 | 60 | * @class IfTag |
61 | 61 | * @package Platine\Template\Tag |
62 | 62 | */ |
63 | -class IfTag extends AbstractCondition |
|
64 | -{ |
|
63 | +class IfTag extends AbstractCondition { |
|
65 | 64 | /** |
66 | 65 | * holding the nodes to render for each logical block |
67 | 66 | * @var array<int, mixed> |
@@ -78,8 +77,7 @@ discard block |
||
78 | 77 | /** |
79 | 78 | * {@inheritdoc} |
80 | 79 | */ |
81 | - public function __construct(string $markup, array &$tokens, Parser $parser) |
|
82 | - { |
|
80 | + public function __construct(string $markup, array &$tokens, Parser $parser) { |
|
83 | 81 | //Initialize |
84 | 82 | $this->nodeListHolders[count($this->blocks)] = []; |
85 | 83 | $this->nodeList = & $this->nodeListHolders[count($this->blocks)]; |