Passed
Push — master ( dabfe1...dbcc75 )
by Chris
02:03
created
php/hamle/Text.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.