Code Duplication    Length = 10-10 lines in 2 locations

src/PhpQueryObject.php 2 locations

@@ 1141-1150 (lines=10) @@
1138
            case 'radio':
1139
            case 'hidden':
1140
            case 'image':
1141
            case 'file':
1142
                $this->elements = $this->map(
1143
                    array(
1144
                        $this,
1145
                        'is'
1146
                    ),
1147
                    "input[type=$class]",
1148
                    new \CallbackParam()
1149
                )->elements;
1150
                break;
1151
            case 'parent':
1152
                $this->elements = $this->map(
1153
                    create_function(
@@ 1173-1182 (lines=10) @@
1170
                break;
1171
            case 'disabled':
1172
            case 'selected':
1173
            case 'checked':
1174
                $this->elements = $this->map(
1175
                    array(
1176
                        $this,
1177
                        'is'
1178
                    ),
1179
                    "[$class]",
1180
                    new \CallbackParam()
1181
                )->elements;
1182
                break;
1183
            case 'enabled':
1184
                $this->elements = $this->map(
1185
                    create_function(