From 20d31f010355048ec16ebb146d104421f3fc4352 Mon Sep 17 00:00:00 2001 From: Julien Gribonvald Date: Sun, 8 Nov 2020 20:32:56 +0100 Subject: [PATCH] Fix private call generating php warning and no logout handling (#352) see PR #311 on post https://github.com/apereo/phpCAS/issues/311#issuecomment-690098850 --- source/CAS/Request/CurlRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/CAS/Request/CurlRequest.php b/source/CAS/Request/CurlRequest.php index 70057712..c8b0933d 100644 --- a/source/CAS/Request/CurlRequest.php +++ b/source/CAS/Request/CurlRequest.php @@ -179,7 +179,7 @@ public function initAndConfigure() * * @return void */ - private function _storeResponseBody ($body) + public function _storeResponseBody ($body) { $this->storeResponseBody($body); } @@ -192,7 +192,7 @@ private function _storeResponseBody ($body) * * @return int */ - private function _curlReadHeaders ($ch, $header) + public function _curlReadHeaders ($ch, $header) { $this->storeResponseHeader($header); return strlen($header);