Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

@@ 291-294 (lines=4) @@
288
            case 'wt':
289
            case 'cpu':
290
            case 'mu':
291
            case 'pmu':
292
                $aValue = $a['profile']['main()'][$sort];
293
                $bValue = $b['profile']['main()'][$sort];
294
                break;
295
296
            case 'time':
297
                $aValue = $a['meta']['request_ts']['sec'];
@@ 296-299 (lines=4) @@
293
                $bValue = $b['profile']['main()'][$sort];
294
                break;
295
296
            case 'time':
297
                $aValue = $a['meta']['request_ts']['sec'];
298
                $bValue = $b['meta']['request_ts']['sec'];
299
                break;
300
301
            case 'controller':
302
            case 'action':
@@ 305-308 (lines=4) @@
302
            case 'action':
303
            case 'application':
304
            case 'branch':
305
            case 'version':
306
                $aValue = $a['meta'][$sort];
307
                $bValue = $b['meta'][$sort];
308
                break;
309
310
            default:
311
                throw new InvalidArgumentException('Invalid sort mode');