Code Duplication    Length = 4-4 lines in 2 locations

src/svg/shape/Path.php 2 locations

@@ 317-320 (lines=4) @@
314
            while ($i < count($value)) {
315
                switch ($pathCommand) {
316
                    case 'm':
317
                    case 'l':
318
                        $point['x'] += $value[$i++];
319
                        $point['y'] += $value[$i++];
320
                        break;
321
                    case 'M':
322
                    case 'L':
323
                        $point['x'] = $value[$i++];
@@ 322-325 (lines=4) @@
319
                        $point['y'] += $value[$i++];
320
                        break;
321
                    case 'M':
322
                    case 'L':
323
                        $point['x'] = $value[$i++];
324
                        $point['y'] = $value[$i++];
325
                        break;
326
                    case 'v':
327
                        $point['y'] += $value[$i++];
328
                        break;