Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

@@ 277-280 (lines=4) @@
274
            case 'wt':
275
            case 'cpu':
276
            case 'mu':
277
            case 'pmu':
278
                $aValue = $a['profile']['main()'][$sort];
279
                $bValue = $b['profile']['main()'][$sort];
280
                break;
281
282
            case 'time':
283
                $aValue = $a['meta']['request_ts']['sec'];
@@ 282-285 (lines=4) @@
279
                $bValue = $b['profile']['main()'][$sort];
280
                break;
281
282
            case 'time':
283
                $aValue = $a['meta']['request_ts']['sec'];
284
                $bValue = $b['meta']['request_ts']['sec'];
285
                break;
286
287
            case 'controller':
288
            case 'action':
@@ 291-294 (lines=4) @@
288
            case 'action':
289
            case 'application':
290
            case 'branch':
291
            case 'version':
292
                $aValue = $a['meta'][$sort];
293
                $bValue = $b['meta'][$sort];
294
                break;
295
296
            default:
297
                throw new InvalidArgumentException('Invalid sort mode');