Code Duplication    Length = 3-3 lines in 2 locations

src/GuzzleAdapter.php 2 locations

@@ 66-68 (lines=3) @@
63
            $this->visibility = AdapterInterface::VISIBILITY_PRIVATE;
64
            $this->base .= $parsed['user'];
65
66
            if (isset($parsed['pass']) && $parsed['pass'] !== '') {
67
                $this->base .= ':' . $parsed['pass'];
68
            }
69
70
            $this->base .= '@';
71
        };
@@ 75-77 (lines=3) @@
72
73
        $this->base .= $parsed['host'] . '/';
74
75
        if (isset($parsed['path']) && $parsed['path'] !== '/') {
76
            $this->base .= trim($parsed['path'], '/') . '/';
77
        }
78
    }
79
80
    /**