Skip to content

Commit d12b596

Browse files
author
Yuri Kovsher
committed
MAGETWO-33062: Update dictionary search tool to support \Magento\Framework\Phrase
1 parent 03a56d9 commit d12b596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tools/Magento/Tools/I18n/Parser/Adapter/Php/Tokenizer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ public function isMatchingClass($className)
6767
$state = 1;
6868
$classString = '';
6969
while ($token = $this->getNextRealToken()) {
70-
if ($token->isNamespaceSeparator() && ($state != 2)) {
70+
if ($token->isNamespaceSeparator() && $state != 2) {
7171
$classString .= $token->getValue();
7272
$state = 2;
73-
} elseif ($token->isIdentifier() && ($state != 3)) {
73+
} elseif ($token->isIdentifier() && $state != 3) {
7474
$classString .= $token->getValue();
7575
$state = 3;
7676
} elseif ($token->isOpenBrace() && $state == 3) {

0 commit comments

Comments
 (0)