Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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