Skip to content

Commit d0a6f78

Browse files
committed
Fix deprecation messages
Signed-off-by: Liviu-Mihail Concioiu <[email protected]>
1 parent 259453b commit d0a6f78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TokenParser/TransTokenParser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ protected function preParse(Token $token): array
5757
/* If we aren't closing the block, do we have a domain? */
5858
if ($stream->test(Token::NAME_TYPE)) {
5959
$stream->expect(Token::NAME_TYPE, 'from');
60-
$domain = $this->parser->getExpressionParser()->parseExpression();
60+
$domain = $this->parser->parseExpression();
6161
}
6262

6363
if (! $stream->test(Token::BLOCK_END_TYPE)) {
64-
$body = $this->parser->getExpressionParser()->parseExpression();
64+
$body = $this->parser->parseExpression();
6565
} else {
6666
$stream->expect(Token::BLOCK_END_TYPE);
6767
$body = $this->parser->subparse([$this, 'decideForFork']);
6868
$next = $stream->next()->getValue();
6969

7070
if ($next === 'plural') {
71-
$count = $this->parser->getExpressionParser()->parseExpression();
71+
$count = $this->parser->parseExpression();
7272
$stream->expect(Token::BLOCK_END_TYPE);
7373
$plural = $this->parser->subparse([$this, 'decideForFork']);
7474
$next = $stream->next()->getValue();

0 commit comments

Comments
 (0)