@@ -70,8 +70,8 @@ discard block |
||
| 70 | 70 | protected string $name; |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * {@inheritdoc} |
|
| 74 | - */ |
|
| 73 | + * {@inheritdoc} |
|
| 74 | + */ |
|
| 75 | 75 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 76 | 76 | { |
| 77 | 77 | $lexer = new Lexer('/(' . Token::VARIABLE_NAME . ')/'); |
@@ -86,8 +86,8 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * {@inheritdoc} |
|
| 90 | - */ |
|
| 89 | + * {@inheritdoc} |
|
| 90 | + */ |
|
| 91 | 91 | public function render(Context $context): string |
| 92 | 92 | { |
| 93 | 93 | // if the value is not set in the environment check to see if it |
@@ -59,8 +59,8 @@ |
||
| 59 | 59 | class ContinueTag extends AbstractTag |
| 60 | 60 | { |
| 61 | 61 | /** |
| 62 | - * {@inheritdoc} |
|
| 63 | - */ |
|
| 62 | + * {@inheritdoc} |
|
| 63 | + */ |
|
| 64 | 64 | public function render(Context $context): string |
| 65 | 65 | { |
| 66 | 66 | $context->setRegister('continue', true); |
@@ -59,8 +59,8 @@ |
||
| 59 | 59 | class BreakTag extends AbstractTag |
| 60 | 60 | { |
| 61 | 61 | /** |
| 62 | - * {@inheritdoc} |
|
| 63 | - */ |
|
| 62 | + * {@inheritdoc} |
|
| 63 | + */ |
|
| 64 | 64 | public function render(Context $context): string |
| 65 | 65 | { |
| 66 | 66 | $context->setRegister('break', true); |
@@ -90,8 +90,8 @@ discard block |
||
| 90 | 90 | protected $right = null; |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * {@inheritdoc} |
|
| 94 | - */ |
|
| 93 | + * {@inheritdoc} |
|
| 94 | + */ |
|
| 95 | 95 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 96 | 96 | { |
| 97 | 97 | parent::__construct($markup, $tokens, $parser); |
@@ -108,16 +108,16 @@ discard block |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | - * {@inheritdoc} |
|
| 112 | - */ |
|
| 111 | + * {@inheritdoc} |
|
| 112 | + */ |
|
| 113 | 113 | protected function endTag(): void |
| 114 | 114 | { |
| 115 | 115 | $this->pushNodeList(); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * {@inheritdoc} |
|
| 120 | - */ |
|
| 119 | + * {@inheritdoc} |
|
| 120 | + */ |
|
| 121 | 121 | protected function unknownTag(string $tag, string $param, array $tokens): void |
| 122 | 122 | { |
| 123 | 123 | $whenLexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/'); |
@@ -150,8 +150,8 @@ discard block |
||
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * {@inheritdoc} |
|
| 154 | - */ |
|
| 153 | + * {@inheritdoc} |
|
| 154 | + */ |
|
| 155 | 155 | public function render(Context $context): string |
| 156 | 156 | { |
| 157 | 157 | $output = ''; |
@@ -76,8 +76,8 @@ discard block |
||
| 76 | 76 | protected string $variableName; |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * {@inheritdoc} |
|
| 80 | - */ |
|
| 79 | + * {@inheritdoc} |
|
| 80 | + */ |
|
| 81 | 81 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 82 | 82 | { |
| 83 | 83 | $lexer = new Lexer('/(\w+)\s*=\s*(.*)\s*/'); |
@@ -93,8 +93,8 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * {@inheritdoc} |
|
| 97 | - */ |
|
| 96 | + * {@inheritdoc} |
|
| 97 | + */ |
|
| 98 | 98 | public function render(Context $context): string |
| 99 | 99 | { |
| 100 | 100 | $output = $this->variable->render($context); |
@@ -69,8 +69,8 @@ |
||
| 69 | 69 | protected string $blockName; |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * {@inheritdoc} |
|
| 73 | - */ |
|
| 72 | + * {@inheritdoc} |
|
| 73 | + */ |
|
| 74 | 74 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 75 | 75 | { |
| 76 | 76 | $lexer = new Lexer('/(\w+)/'); |
@@ -77,8 +77,8 @@ discard block |
||
| 77 | 77 | protected array $blocks = []; |
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | - * {@inheritdoc} |
|
| 81 | - */ |
|
| 80 | + * {@inheritdoc} |
|
| 81 | + */ |
|
| 82 | 82 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 83 | 83 | { |
| 84 | 84 | //Initialize |
@@ -90,8 +90,8 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * {@inheritdoc} |
|
| 94 | - */ |
|
| 93 | + * {@inheritdoc} |
|
| 94 | + */ |
|
| 95 | 95 | public function render(Context $context): string |
| 96 | 96 | { |
| 97 | 97 | $context->push(); |
@@ -217,8 +217,8 @@ discard block |
||
| 217 | 217 | } |
| 218 | 218 | |
| 219 | 219 | /** |
| 220 | - * {@inheritdoc} |
|
| 221 | - */ |
|
| 220 | + * {@inheritdoc} |
|
| 221 | + */ |
|
| 222 | 222 | protected function unknownTag(string $tag, string $param, array $tokens): void |
| 223 | 223 | { |
| 224 | 224 | if ($tag === 'else' || $tag === 'elseif') { |
@@ -69,8 +69,8 @@ discard block |
||
| 69 | 69 | protected string $value; |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * {@inheritdoc} |
|
| 73 | - */ |
|
| 72 | + * {@inheritdoc} |
|
| 73 | + */ |
|
| 74 | 74 | public function __construct(string $markup, &$tokens, Parser $parser) |
| 75 | 75 | { |
| 76 | 76 | parent::__construct($markup, $tokens, $parser); |
@@ -87,8 +87,8 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * {@inheritdoc} |
|
| 91 | - */ |
|
| 90 | + * {@inheritdoc} |
|
| 91 | + */ |
|
| 92 | 92 | public function render(Context $context): string |
| 93 | 93 | { |
| 94 | 94 | $debugValue = $context->get($this->value); |
@@ -60,8 +60,8 @@ |
||
| 60 | 60 | class RawTag extends AbstractBlock |
| 61 | 61 | { |
| 62 | 62 | /** |
| 63 | - * {@inheritdoc} |
|
| 64 | - */ |
|
| 63 | + * {@inheritdoc} |
|
| 64 | + */ |
|
| 65 | 65 | public function parse(array &$tokens): void |
| 66 | 66 | { |
| 67 | 67 | $lexer = new Lexer( |