@@ 140-142 (lines=3) @@ | ||
137 | $closingName = null; |
|
138 | ||
139 | while($this->position < $this->tokensCount) { |
|
140 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_OPEN)) { |
|
141 | $content .= $this->match(null, true); |
|
142 | } |
|
143 | ||
144 | $this->beginBacktrack(); |
|
145 | /** @psalm-suppress MixedArgumentTypeCoercion */ |
|
@@ 234-236 (lines=3) @@ | ||
231 | $value = ''; |
|
232 | ||
233 | if($this->match(self::TOKEN_DELIMITER, false)) { |
|
234 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_DELIMITER)) { |
|
235 | $value .= $this->match(null, false); |
|
236 | } |
|
237 | ||
238 | return $this->match(self::TOKEN_DELIMITER, false) ? $value : false; |
|
239 | } |