@@ -380,16 +380,16 @@ |
||
380 | 380 | protected function getUrl($url, $headers, $timeout) |
381 | 381 | { |
382 | 382 | $context = stream_context_create( |
383 | - [ |
|
383 | + [ |
|
384 | 384 | 'http' => [ |
385 | 385 | 'header' => implode(CRLF, $headers), |
386 | 386 | 'timeout' => $timeout |
387 | 387 | ], |
388 | 388 | 'ssl' => [ |
389 | - 'verify_peer' => false, |
|
390 | - 'allow_self_signed'=> true |
|
389 | + 'verify_peer' => false, |
|
390 | + 'allow_self_signed'=> true |
|
391 | + ] |
|
391 | 392 | ] |
392 | - ] |
|
393 | 393 | ); |
394 | 394 | $rawResponse = file_get_contents($url, false, $context); |
395 | 395 | return $rawResponse; |