Code Duplication    Length = 3-3 lines in 2 locations

src/SwaggerWrapper.php 2 locations

@@ 85-87 (lines=3) @@
82
    protected function sortPaths($pathList)
83
    {
84
        usort($pathList, function ($left, $right) {
85
            if (strpos($left, '{') === false && strpos($right, '{') !== false) {
86
                return -16384;
87
            }
88
            if (strpos($left, '{') !== false && strpos($right, '{') === false) {
89
                return 16384;
90
            }
@@ 88-90 (lines=3) @@
85
            if (strpos($left, '{') === false && strpos($right, '{') !== false) {
86
                return -16384;
87
            }
88
            if (strpos($left, '{') !== false && strpos($right, '{') === false) {
89
                return 16384;
90
            }
91
            if (strpos($left, $right) !== false) {
92
                return -16384;
93
            }