Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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