From c7b649ff9bcb46961de559a6f0779414a34f330e Mon Sep 17 00:00:00 2001 From: GIP RECIA - Julien Gribonvald Date: Tue, 22 Sep 2020 17:07:20 +0200 Subject: [PATCH] fix: private call generating php Warning and no logout handling 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);