Completed
Push — master ( c878c6...c7ecd9 )
by Richard
02:38
created
src/Parser/Tokenizer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
 		}
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param integer $n
103
+	 */
101 104
 	private function isLiteral($n) {
102 105
 		//Is it a normal literal character
103 106
 		return isset($this->str[$n]) && ($this->identifyChar($this->str[$n]) == self::NAME
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 		if ($char === self::STRING) {
145 145
 			$string = $this->extractString($i);
146 146
 			$length = strlen($string)+1;
147
-			$string = str_replace('\\' . $this->str[$i], $this->str[$i], $string);
147
+			$string = str_replace('\\'.$this->str[$i], $this->str[$i], $string);
148 148
 			$tokens[] = ['type' => self::STRING, 'value' => $string, 'line' => $this->lineNo];
149 149
 			return $length;
150 150
 		}
Please login to merge, or discard this patch.