Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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