Code Duplication    Length = 3-3 lines in 2 locations

src/Legacy/Drupal7.php 2 locations

@@ 74-76 (lines=3) @@
71
      case 8:
72
        return $method($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7]);
73
        break;
74
      case 9:
75
        return $method($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7], $args[8]);
76
        break;
77
      case 10:
78
        return $method($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7], $args[8], $args[9]);
79
        break;
@@ 77-79 (lines=3) @@
74
      case 9:
75
        return $method($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7], $args[8]);
76
        break;
77
      case 10:
78
        return $method($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7], $args[8], $args[9]);
79
        break;
80
      default:
81
        // This is a necessary hack to ensure that things that have been passed
82
        // by reference continue to being passed by reference.