Skip to content

Commit afce677

Browse files
committed
Clean up
1 parent b6ad72f commit afce677

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Curl/Curl.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ class Curl
4646
public $remainingRetries = 0;
4747
public $retryDecider = null;
4848

49+
public $jsonDecoder = null;
50+
public $xmlDecoder = null;
51+
4952
private $cookies = array();
5053
private $headers = array();
5154
private $options = array();
5255

53-
public $jsonDecoder = null;
5456
private $jsonDecoderArgs = array();
5557
private $jsonPattern = '/^(?:application|text)\/(?:[a-z]+(?:[\.-][0-9a-z]+){0,}[\+\.]|x-)?json(?:-[a-z]+)?/i';
56-
public $xmlDecoder = null;
5758
private $xmlPattern = '~^(?:text/|application/(?:atom\+|rss\+)?)xml~i';
5859
private $defaultDecoder = null;
5960

0 commit comments

Comments
 (0)