Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Reveresed original code
Browse files Browse the repository at this point in the history
Signed-off-by: manishranjan-adobe <del55204@adobe.com>
  • Loading branch information
manishranjan-adobe committed Oct 22, 2024
1 parent 2aa1da4 commit 8c0ff7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use function array_merge;
use function call_user_func_array;
use function method_exists;
use function strtoupper;

class Client extends HttpClient
{
Expand Down Expand Up @@ -147,7 +146,6 @@ public function setRawDataStream($data, $enctype = null)
*/
public function setMethod($method = HttpRequest::METHOD_GET)
{
$method = strtoupper($method);
if ($method === HttpRequest::METHOD_GET) {
$this->setRequestMethod(HttpRequest::METHOD_GET);
} elseif ($method === HttpRequest::METHOD_POST) {
Expand Down

0 comments on commit 8c0ff7f

Please sign in to comment.