Code Duplication    Length = 9-9 lines in 2 locations

Result/Converter.php 2 locations

@@ 189-197 (lines=9) @@
186
187
                if (isset($alias['type'])) {
188
                    switch ($alias['type']) {
189
                        case 'float':
190
                            if (is_array($value)) {
191
                                foreach ($value as $key => $item) {
192
                                    $value[$key] = (float)$item;
193
                                }
194
                            } else {
195
                                $value = (float)$value;
196
                            }
197
                            break;
198
                        case 'integer':
199
                            if (is_array($value)) {
200
                                foreach ($value as $key => $item) {
@@ 198-206 (lines=9) @@
195
                                $value = (float)$value;
196
                            }
197
                            break;
198
                        case 'integer':
199
                            if (is_array($value)) {
200
                                foreach ($value as $key => $item) {
201
                                    $value[$key] = (int)$item;
202
                                }
203
                            } else {
204
                                $value = (int)$value;
205
                            }
206
                            break;
207
                        default:
208
                            break;
209
                    }