@@ 321-323 (lines=3) @@ | ||
318 | $options['socket']['bindto'] = $this->_params['sourceIp'] . ':0'; |
|
319 | } |
|
320 | ||
321 | if (!empty($this->_params['verifySsl'])) { |
|
322 | $options = array_replace_recursive($options, $this->_params['verifySsl']); |
|
323 | } |
|
324 | ||
325 | if (!empty($this->_params['stream_context_options'])) { |
|
326 | $options = array_replace_recursive($options, $this->_params['stream_context_options']); |
|
@@ 325-327 (lines=3) @@ | ||
322 | $options = array_replace_recursive($options, $this->_params['verifySsl']); |
|
323 | } |
|
324 | ||
325 | if (!empty($this->_params['stream_context_options'])) { |
|
326 | $options = array_replace_recursive($options, $this->_params['stream_context_options']); |
|
327 | } |
|
328 | ||
329 | $streamContext = stream_context_create($options); |
|
330 | /** @noinspection PhpUsageOfSilenceOperatorInspection */ |