Code Duplication    Length = 8-11 lines in 3 locations

src/Version/Guzzle5.php 1 location

@@ 21-31 (lines=11) @@
18
    /**
19
     * {@InheritDoc}
20
     */
21
    public function __construct($baseUri, $options = [])
22
    {
23
        $this->defaultOptions = [
24
            'base_url' => $baseUri,
25
            'defaults' => array_merge(
26
                ['exceptions' => false],
27
                $options
28
            )
29
        ];
30
31
        $this->client = new Client($this->defaultOptions);
32
    }
33
34
    /**

src/Version/Guzzle6.php 1 location

@@ 19-27 (lines=9) @@
16
    /**
17
     * {@InheritDoc}
18
     */
19
    public function __construct($baseUri, $options = [])
20
    {
21
        $this->defaultOptions = array_merge([
22
            'base_uri' => $baseUri,
23
            'http_errors' => false
24
        ], $options);
25
26
        $this->client = new Client($this->defaultOptions);
27
    }
28
29
    public function setBaseUri($baseUri)
30
    {

src/Version/Guzzle3.php 1 location

@@ 21-28 (lines=8) @@
18
    /**
19
     * {@InheritDoc}
20
     */
21
    public function __construct($baseUri, $options = [])
22
    {
23
        $this->defaultOptions['request.options'] = array_merge(
24
            ['exceptions' => false],
25
            $options
26
        );
27
28
        $this->client = new Client($baseUri, $this->defaultOptions);
29
    }
30
31
    public function setBaseUri($baseUri)