@@ -104,13 +104,13 @@ |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | $streamContextOptions = array( |
| 107 | - 'protocol_version' => $request->getProtocolVersion(), |
|
| 108 | - 'method' => $request->getMethod(), |
|
| 109 | - 'header' => implode("\r\n", $headers), |
|
| 110 | - 'timeout' => $this->timeout, |
|
| 111 | - 'ignore_errors' => true, |
|
| 112 | - 'follow_location' => $this->followRedirects ? 1 : 0, |
|
| 113 | - 'max_redirects' => 100 |
|
| 107 | + 'protocol_version' => $request->getProtocolVersion(), |
|
| 108 | + 'method' => $request->getMethod(), |
|
| 109 | + 'header' => implode("\r\n", $headers), |
|
| 110 | + 'timeout' => $this->timeout, |
|
| 111 | + 'ignore_errors' => true, |
|
| 112 | + 'follow_location' => $this->followRedirects ? 1 : 0, |
|
| 113 | + 'max_redirects' => 100 |
|
| 114 | 114 | ); |
| 115 | 115 | |
| 116 | 116 | if (strlen($body) > 0) { |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | stream_context_set_params( |
| 129 | 129 | $context, |
| 130 | 130 | array('notification' => |
| 131 | - function ( |
|
| 131 | + function( |
|
| 132 | 132 | $code, |
| 133 | 133 | $severity, |
| 134 | 134 | $msg, |