Code Duplication    Length = 7-7 lines in 2 locations

src/Gateways/Alipay/Support.php 1 location

@@ 58-64 (lines=7) @@
55
     *
56
     * @param Config $config
57
     */
58
    private function __construct(Config $config)
59
    {
60
        $this->baseUri = Alipay::URL[$config->get('mode', Alipay::MODE_NORMAL)];
61
        $this->config = $config;
62
63
        $this->setHttpOptions();
64
    }
65
66
    /**
67
     * __get.

src/Gateways/Wechat/Support.php 1 location

@@ 65-71 (lines=7) @@
62
     *
63
     * @param Config $config
64
     */
65
    private function __construct(Config $config)
66
    {
67
        $this->baseUri = Wechat::URL[$config->get('mode', Wechat::MODE_NORMAL)];
68
        $this->config = $config;
69
70
        $this->setHttpOptions();
71
    }
72
73
    /**
74
     * __get.