Code Duplication    Length = 3-3 lines in 2 locations

src/Parser.php 2 locations

@@ 1275-1277 (lines=3) @@
1272
            $this->cut = $_cut57;
1273
        }
1274
1275
        if ($_success) {
1276
            $this->value = strval(substr($this->string, $_position58, $this->position - $_position58));
1277
        }
1278
1279
        $this->cache['RAW_STRING'][$_position] = array(
1280
            'success' => $_success,
@@ 1371-1373 (lines=3) @@
1368
1369
            $this->cut = $_cut64;
1370
1371
            if ($_success) {
1372
                $this->value = strval(substr($this->string, $_position65, $this->position - $_position65));
1373
            }
1374
1375
            if ($_success) {
1376
                $code = $this->value;