Code Duplication    Length = 9-9 lines in 2 locations

src/Parser/Last.php 1 location

@@ 77-85 (lines=9) @@
74
		}
75
	}
76
77
	private function processLastUnexpected() {
78
		if (!($this->autoLookup || $this->traversing)) {
79
			$this->result->processValue($this->last);
80
		}
81
		else {
82
			$this->result->clear();
83
			$this->result[0] = false;
84
		}
85
	}
86
}

src/Parser/Value.php 1 location

@@ 169-177 (lines=9) @@
166
		}
167
	}
168
169
	private function processLastUnexpected() {
170
		if (!($this->autoLookup || $this->traversing)) {
171
			$this->result->processValue($this->last);
172
		}
173
		else {
174
			$this->result->clear();
175
			$this->result->write(0, false);
176
		}
177
	}
178
}
179