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