Skip to content

Commit

Permalink
Update PaymentDisputeApi.php
Browse files Browse the repository at this point in the history
  • Loading branch information
christian71-stack authored Jul 30, 2023
1 parent efd3b40 commit 2c32c17
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions lib/Api/PaymentDisputeApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ protected function acceptPaymentDisputeRequest($payment_dispute_id, $body = null

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -314,7 +314,7 @@ protected function acceptPaymentDisputeRequest($payment_dispute_id, $body = null
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -568,7 +568,7 @@ protected function addEvidenceRequest($payment_dispute_id, $body = null)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -588,7 +588,7 @@ protected function addEvidenceRequest($payment_dispute_id, $body = null)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -805,7 +805,7 @@ protected function contestPaymentDisputeRequest($payment_dispute_id, $body = nul

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -825,7 +825,7 @@ protected function contestPaymentDisputeRequest($payment_dispute_id, $body = nul
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -1101,7 +1101,7 @@ protected function fetchEvidenceContentRequest($payment_dispute_id, $evidence_id

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -1121,7 +1121,7 @@ protected function fetchEvidenceContentRequest($payment_dispute_id, $evidence_id
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -1367,7 +1367,7 @@ protected function getActivitiesRequest($payment_dispute_id)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -1387,7 +1387,7 @@ protected function getActivitiesRequest($payment_dispute_id)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -1633,7 +1633,7 @@ protected function getPaymentDisputeRequest($payment_dispute_id)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -1653,7 +1653,7 @@ protected function getPaymentDisputeRequest($payment_dispute_id)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -1943,7 +1943,7 @@ protected function getPaymentDisputeSummariesRequest($order_id = null, $buyer_us

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -1963,7 +1963,7 @@ protected function getPaymentDisputeSummariesRequest($order_id = null, $buyer_us
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'GET',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -2180,7 +2180,7 @@ protected function updateEvidenceRequest($payment_dispute_id, $body = null)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -2200,7 +2200,7 @@ protected function updateEvidenceRequest($payment_dispute_id, $body = null)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down Expand Up @@ -2446,7 +2446,7 @@ protected function uploadEvidenceFileRequest($payment_dispute_id)

} else {
// for HTTP post (form)
$httpBody = \GuzzleHttp\Psr7\build_query($formParams);
$httpBody = \GuzzleHttp\Psr7\Query::build($formParams);
}
}

Expand All @@ -2466,7 +2466,7 @@ protected function uploadEvidenceFileRequest($payment_dispute_id)
$headers
);

$query = \GuzzleHttp\Psr7\build_query($queryParams);
$query = \GuzzleHttp\Psr7\Query::build($queryParams);
return new Request(
'POST',
$this->config->getHost() . $resourcePath . ($query ? "?{$query}" : ''),
Expand Down

0 comments on commit 2c32c17

Please sign in to comment.