Code Duplication    Length = 8-8 lines in 2 locations

src/Resource/Escrow.php 1 location

@@ 96-103 (lines=8) @@
93
     * @return Payment
94
     */
95
    
96
    public function release() 
97
    {
98
        $path = sprintf('/%s/%s/%s/%s', MoipResource::VERSION, self::PATH, $this->getId(), 'release');
99
100
        $response = $this->httpRequest($path, Requests::POST, []);
101
102
        return $this->populate($response);
103
    }
104
    
105
    /**
106
     * Mount escrow structure.

src/Resource/Transfers.php 1 location

@@ 109-116 (lines=8) @@
106
     *
107
     * @return Transfers
108
     */
109
    public function execute()
110
    {
111
        $path = sprintf('/%s/%s', MoipResource::VERSION, self::PATH);
112
113
        $response = $this->httpRequest($path, Requests::POST, $this);
114
115
        return $this->populate($response);
116
    }
117
118
    /**
119
     * Get MoIP Transfers id.