@@ -108,9 +108,9 @@ |
||
108 | 108 | protected function createStreamContext() |
109 | 109 | { |
110 | 110 | $streamContext = stream_context_create(); |
111 | - if ( !empty( $this->caFile ) ) |
|
111 | + if (!empty($this->caFile)) |
|
112 | 112 | { |
113 | - stream_context_set_option( $streamContext, 'ssl', 'cafile', $this->caFile ); |
|
113 | + stream_context_set_option($streamContext, 'ssl', 'cafile', $this->caFile); |
|
114 | 114 | } |
115 | 115 | stream_context_set_option($streamContext, 'ssl', 'local_cert', $this->certificate->writeToTmp()); |
116 | 116 |