Skip to content

Commit

Permalink
Merge pull request #2 from nasyrov/patch-1
Browse files Browse the repository at this point in the history
Initialize the client correctly
  • Loading branch information
sigismund authored Nov 5, 2018
2 parents ce5c9d3 + e994238 commit f67ee73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoinPayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function setCredentials($merchantID, $publicKey, $privateKey, $ipnSecret)
public function getRequestAgent()
{
if (!$this->requestAgent) {
$this->setRequestAgent(Curl::class);
$this->setRequestAgent(new Curl);
}

return $this->requestAgent;
Expand Down

0 comments on commit f67ee73

Please sign in to comment.