@@ -165,10 +165,10 @@ |
||
165 | 165 | // direct access for small paths |
166 | 166 | case 1: |
167 | 167 | $this->data[$pathArray[0]] = $value; |
168 | - return; |
|
168 | + return; |
|
169 | 169 | case 2: |
170 | 170 | $this->data[$pathArray[0]][$pathArray[1]] = $value; |
171 | - return; |
|
171 | + return; |
|
172 | 172 | default: |
173 | 173 | $this->setDeepElementWithLoop($pathArray, $value); |
174 | 174 | } |
@@ -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; |