Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

@@ 261-264 (lines=4) @@
258
            case 'wt':
259
            case 'cpu':
260
            case 'mu':
261
            case 'pmu':
262
                $aValue = $a['profile']['main()'][$sort];
263
                $bValue = $b['profile']['main()'][$sort];
264
                break;
265
266
            case 'time':
267
                $aValue = $a['meta']['request_ts']['sec'];
@@ 266-269 (lines=4) @@
263
                $bValue = $b['profile']['main()'][$sort];
264
                break;
265
266
            case 'time':
267
                $aValue = $a['meta']['request_ts']['sec'];
268
                $bValue = $b['meta']['request_ts']['sec'];
269
                break;
270
271
            case 'controller':
272
            case 'action':
@@ 275-278 (lines=4) @@
272
            case 'action':
273
            case 'application':
274
            case 'branch':
275
            case 'version':
276
                $aValue = $a['meta'][$sort];
277
                $bValue = $b['meta'][$sort];
278
                break;
279
280
            default:
281
                throw new InvalidArgumentException('Invalid sort mode');