Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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