@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | class MultiRequest |
17 | 17 | { |
18 | -<<<<<<< HEAD |
|
18 | +<< << <<< HEAD |
|
19 | 19 | ======= |
20 | 20 | /** |
21 | 21 | * @var [Response] |
@@ -121,7 +121,4 @@ discard block |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -121,7 +121,4 @@ |
||
121 | 121 | curl_multi_close(self::$multiHandler); |
122 | 122 | self::$requestPool = array(); |
123 | 123 | self::$multiHandler = null; |
124 | - return $return; |
|
125 | - } |
|
126 | - |
|
127 | -} |
|
124 | + return $return |
|
128 | 125 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | |
16 | 16 | class Request extends Http |
17 | 17 | { |
18 | -<<<<<<< HEAD |
|
18 | +<< << <<< HEAD |
|
19 | 19 | const MAX_REDIRECTS_DEFAULT = 10; |
20 | 20 | ======= |
21 | 21 | /** |
@@ -683,9 +683,4 @@ discard block |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -683,9 +683,4 @@ |
||
683 | 683 | { |
684 | 684 | if ($response->hasErrors()) { |
685 | 685 | self::$logger->error($response->request->getURI() . "\t" . $response->error, array( |
686 | - 'response' => print_r($response, 1), |
|
687 | - )); |
|
688 | - } |
|
689 | - |
|
690 | - } |
|
691 | -} |
|
686 | + 'response' => print_r($response |
|
692 | 687 | \ No newline at end of file |
@@ -47,11 +47,11 @@ |
||
47 | 47 | |
48 | 48 | abstract function trace($uri, array $options = array()); |
49 | 49 | |
50 | - /** |
|
51 | - * @param $method |
|
52 | - * @return bool |
|
53 | - */ |
|
54 | - public static function hasBody($method){ |
|
55 | - return in_array($method, array(self::POST, self::PUT, self::PATCH, self::OPTIONS)); |
|
56 | - } |
|
50 | + /** |
|
51 | + * @param $method |
|
52 | + * @return bool |
|
53 | + */ |
|
54 | + public static function hasBody($method){ |
|
55 | + return in_array($method, array(self::POST, self::PUT, self::PATCH, self::OPTIONS)); |
|
56 | + } |
|
57 | 57 | } |
58 | 58 | \ No newline at end of file |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param $method |
52 | 52 | * @return bool |
53 | 53 | */ |
54 | - public static function hasBody($method){ |
|
54 | + public static function hasBody($method) { |
|
55 | 55 | return in_array($method, array(self::POST, self::PUT, self::PATCH, self::OPTIONS)); |
56 | 56 | } |
57 | 57 | } |
58 | 58 | \ No newline at end of file |