Code Duplication    Length = 4-4 lines in 3 locations

src/Xhgui/Storage/File.php 3 locations

@@ 246-249 (lines=4) @@
243
            case 'wt':
244
            case 'cpu':
245
            case 'mu':
246
            case 'pmu':
247
                $aValue = $a['profile']['main()'][$sort];
248
                $bValue = $b['profile']['main()'][$sort];
249
                break;
250
251
            case 'time':
252
                $aValue = $a['meta']['request_ts']['sec'];
@@ 251-254 (lines=4) @@
248
                $bValue = $b['profile']['main()'][$sort];
249
                break;
250
251
            case 'time':
252
                $aValue = $a['meta']['request_ts']['sec'];
253
                $bValue = $b['meta']['request_ts']['sec'];
254
                break;
255
256
            case 'controller':
257
            case 'action':
@@ 260-263 (lines=4) @@
257
            case 'action':
258
            case 'application':
259
            case 'branch':
260
            case 'version':
261
                $aValue = $a['meta'][$sort];
262
                $bValue = $b['meta'][$sort];
263
                break;
264
265
            default:
266
                throw new InvalidArgumentException('Invalid sort mode');