Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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