@@ -61,8 +61,7 @@ discard block |
||
61 | 61 | if($mode === self::TOKEN_CONTROL) { |
62 | 62 | if(preg_match('/^"(.*)"$/', trim($s), $m)) { |
63 | 63 | $this->nodes[] = new Text($m[1]); |
64 | - } |
|
65 | - else { |
|
64 | + } else { |
|
66 | 65 | $this->nodes[] = new Text\Complex(trim($s)); |
67 | 66 | } |
68 | 67 | return; |
@@ -76,8 +75,7 @@ discard block |
||
76 | 75 | } |
77 | 76 | $this->nodes[] = new Text\Complex(substr($match[2][0], 1, -1)); |
78 | 77 | $pos = $match[2][1] + strlen($match[2][0]); |
79 | - } |
|
80 | - else if($mode & self::FIND_DOLLARVAR) { |
|
78 | + } else if($mode & self::FIND_DOLLARVAR) { |
|
81 | 79 | if($match[1][1] > 0 && $s[$match[1][1] - 1] === '\\') { |
82 | 80 | continue; |
83 | 81 | } |