Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 703-708 (lines=6) @@
700
                // This is a string, so it may be a type hint, but it could
701
                // also be a constant used as a default value.
702
                $prevComma = false;
703
                for ($t = $i; $t >= $opener; $t--) {
704
                    if ($tokens[$t]['code'] === T_COMMA) {
705
                        $prevComma = $t;
706
                        break;
707
                    }
708
                }
709
710
                if ($prevComma !== false) {
711
                    $nextEquals = false;
@@ 712-717 (lines=6) @@
709
710
                if ($prevComma !== false) {
711
                    $nextEquals = false;
712
                    for ($t = $prevComma; $t < $i; $t++) {
713
                        if ($tokens[$t]['code'] === T_EQUAL) {
714
                            $nextEquals = $t;
715
                            break;
716
                        }
717
                    }
718
719
                    if ($nextEquals !== false) {
720
                        break;