Code Duplication    Length = 4-4 lines in 2 locations

src/Parser/Tokenizer/Comments.php 2 locations

@@ 18-21 (lines=4) @@
15
	}
16
17
	private function singleLineComments($str) {
18
		if ($str->identifyChar() == Tokenizer::DIVIDE && $str->identifyChar(1) == Tokenizer::DIVIDE) {
19
			$pos = $str->pos("\n");
20
			$str->move($pos !== false ? $pos : false);
21
		}
22
	}
23
24
	public function multiLinecomments($str) {
@@ 25-28 (lines=4) @@
22
	}
23
24
	public function multiLinecomments($str) {
25
		if ($str->identifyChar() == Tokenizer::DIVIDE && $str->identifyChar(1) == Tokenizer::MULTIPLY) {
26
			$pos = $str->pos('*/');
27
			$str->move($pos !== false ? $pos+2 : false);
28
		}
29
	}
30
}