From afce677cb0bc7339aa4b1c26ddd7d433d2ebbc11 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sat, 27 Jan 2018 04:40:38 -0800 Subject: [PATCH] Clean up --- src/Curl/Curl.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index b54da97..3bf5385 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -46,14 +46,15 @@ class Curl public $remainingRetries = 0; public $retryDecider = null; + public $jsonDecoder = null; + public $xmlDecoder = null; + private $cookies = array(); private $headers = array(); private $options = array(); - public $jsonDecoder = null; private $jsonDecoderArgs = array(); private $jsonPattern = '/^(?:application|text)\/(?:[a-z]+(?:[\.-][0-9a-z]+){0,}[\+\.]|x-)?json(?:-[a-z]+)?/i'; - public $xmlDecoder = null; private $xmlPattern = '~^(?:text/|application/(?:atom\+|rss\+)?)xml~i'; private $defaultDecoder = null;