Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

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