@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | if ($this->local_cert !== null) { |
| 123 | 123 | stream_context_set_option($context, 'ssl', 'local_cert', $this->local_cert); |
| 124 | 124 | |
| 125 | - if($this->passphrase) { |
|
| 125 | + if ($this->passphrase) { |
|
| 126 | 126 | stream_context_set_option($context, 'ssl', 'passphrase', $this->passphrase); |
| 127 | 127 | } |
| 128 | 128 | } |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | |
| 209 | 209 | $buffer = (string) $frame; |
| 210 | 210 | $header = pack('N', mb_strlen($buffer, 'ASCII') + 4); |
| 211 | - return $this->send($header . $buffer); |
|
| 211 | + return $this->send($header.$buffer); |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | /** |