StreamContext: fix syntax errors, file is unused

This commit is contained in:
Thomas Gelf 2016-02-26 13:12:17 +01:00
parent c9c3f3e2e5
commit 57be4f0504

View File

@ -24,7 +24,7 @@ class StreamContext
public function setCA(CA $ca)
{
$this->options
// $this->options
}
protected function createSslContext()
@ -71,7 +71,7 @@ class StreamContext
$this->context = stream_context_create();
$this->setContextOptions($this->getOptions());
stream_context_set_option($this->context
// stream_context_set_option($this->context
if ($this->isSsl()) {
$this->options['ssl'] = $this->ssl()->getOptions();
}