From ab313b9aef53f07208b365a25a3d70dd577abb9f Mon Sep 17 00:00:00 2001 From: Mendy Block <19580651+benignant@users.noreply.github.com> Date: Wed, 4 Jul 2018 18:45:51 -0400 Subject: [PATCH] Change Eway\Rapid\Service\Http::request() from private to protected This allows people to simply extend this class and override the request() method to swap out curl for something else. --- src/Rapid/Service/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rapid/Service/Http.php b/src/Rapid/Service/Http.php index cff0ea4..d4073bf 100644 --- a/src/Rapid/Service/Http.php +++ b/src/Rapid/Service/Http.php @@ -349,7 +349,7 @@ private function postRequest($url, $data) * * @return ResponseInterface */ - private function request($method, $uri, $data = []) + protected function request($method, $uri, $data = []) { $uri = $this->getUri($uri);