Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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