Code Duplication    Length = 9-9 lines in 2 locations

src/LesserPhp/Parser.php 2 locations

@@ 206-214 (lines=9) @@
203
        }
204
205
        // setting a property
206
        if ($this->keyword($key) && $this->assign() && $this->propertyValue($value, $key) && $this->end()) {
207
            $this->append(['assign', $key, $value], $s);
208
209
            return true;
210
        } else {
211
            $this->seek($s);
212
        }
213
214
        // look for special css blocks
215
        if ($this->literal('@', false)) {
216
            $this->count--;
217
@@ 276-284 (lines=9) @@
273
274
275
        // setting a variable
276
        if ($this->variable($var) && $this->assign() &&
277
            $this->propertyValue($value) && $this->end()
278
        ) {
279
            $this->append(['assign', $var, $value], $s);
280
281
            return true;
282
        } else {
283
            $this->seek($s);
284
        }
285
286
        if ($this->import($importValue)) {
287
            $this->append($importValue, $s);