Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

@@ 300-303 (lines=4) @@
297
            case 'wt':
298
            case 'cpu':
299
            case 'mu':
300
            case 'pmu':
301
                $aValue = $a['profile']['main()'][$sort];
302
                $bValue = $b['profile']['main()'][$sort];
303
                break;
304
305
            case 'time':
306
                $aValue = $a['meta']['request_ts']['sec'];
@@ 305-308 (lines=4) @@
302
                $bValue = $b['profile']['main()'][$sort];
303
                break;
304
305
            case 'time':
306
                $aValue = $a['meta']['request_ts']['sec'];
307
                $bValue = $b['meta']['request_ts']['sec'];
308
                break;
309
310
            case 'controller':
311
            case 'action':
@@ 314-317 (lines=4) @@
311
            case 'action':
312
            case 'application':
313
            case 'branch':
314
            case 'version':
315
                $aValue = $a['meta'][$sort];
316
                $bValue = $b['meta'][$sort];
317
                break;
318
319
            default:
320
                throw new InvalidArgumentException('Invalid sort mode');