From c3ff04cff861c1b1f8e6147adea948ae7f4f8cfd Mon Sep 17 00:00:00 2001 From: aymm Date: Tue, 9 Mar 2021 19:35:52 +0000 Subject: [PATCH] Fixed makeRequest rename and typing issue --- src/APnutI.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/APnutI.php b/src/APnutI.php index cf4be42..338c7b7 100644 --- a/src/APnutI.php +++ b/src/APnutI.php @@ -114,9 +114,9 @@ class APnutI // take out the headers // set internal variables // return the body/content - $this->rate_limit = null; + /*$this->rate_limit = null; $this->rate_limit_remaining = null; - $this->rate_limit_reset = null; + $this->rate_limit_reset = null;*/ $this->scope = []; $response = explode("\r\n\r\n", $response, 2); $headers = $response[0]; @@ -282,7 +282,7 @@ class APnutI string $content_type = 'application/x-www-form-urlencoded' ): string { $method = $content_type === 'multipart/form-data' ? 'POST-RAW' : 'POST'; - return $this->make_request($method, $end_point, $parameters, $content_type); + return $this->makeRequest($method, $end_point, $parameters, $content_type); } public function get(