Code Duplication    Length = 3-3 lines in 2 locations

src/ServerRequestHandler.php 2 locations

@@ 390-392 (lines=3) @@
387
    protected function sortPaths($pathList)
388
    {
389
        usort($pathList, function ($left, $right) {
390
            if (strpos($left, '{') === false && strpos($right, '{') !== false) {
391
                return -16384;
392
            }
393
            if (strpos($left, '{') !== false && strpos($right, '{') === false) {
394
                return 16384;
395
            }
@@ 393-395 (lines=3) @@
390
            if (strpos($left, '{') === false && strpos($right, '{') !== false) {
391
                return -16384;
392
            }
393
            if (strpos($left, '{') !== false && strpos($right, '{') === false) {
394
                return 16384;
395
            }
396
            if (strpos($left, $right) !== false) {
397
                return -16384;
398
            }