Code Duplication    Length = 6-6 lines in 2 locations

Sniff.php 2 locations

@@ 749-754 (lines=6) @@
746
                // This is a string, so it may be a type hint, but it could
747
                // also be a constant used as a default value.
748
                $prevComma = false;
749
                for ($t = $i; $t >= $opener; $t--) {
750
                    if ($tokens[$t]['code'] === T_COMMA) {
751
                        $prevComma = $t;
752
                        break;
753
                    }
754
                }
755
756
                if ($prevComma !== false) {
757
                    $nextEquals = false;
@@ 758-763 (lines=6) @@
755
756
                if ($prevComma !== false) {
757
                    $nextEquals = false;
758
                    for ($t = $prevComma; $t < $i; $t++) {
759
                        if ($tokens[$t]['code'] === T_EQUAL) {
760
                            $nextEquals = $t;
761
                            break;
762
                        }
763
                    }
764
765
                    if ($nextEquals !== false) {
766
                        break;