@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | $name = imap_utf7_encode($name); |
219 | - return imap_subscribe ( $this->conn, "{".$this->settings['server']."}INBOX.".$name ); |
|
219 | + return imap_subscribe($this->conn, "{".$this->settings['server']."}INBOX.".$name); |
|
220 | 220 | } |
221 | 221 | |
222 | 222 | /** |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | $msgId = 0; |
355 | 355 | |
356 | 356 | if (is_array($this->messages) == true) { |
357 | - foreach($this ->messages as $msg) { |
|
357 | + foreach ($this ->messages as $msg) { |
|
358 | 358 | if ($msg['index'] == $index) { |
359 | 359 | $msgId = $msg['index']; |
360 | 360 | break; |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | { |
410 | 410 | $message = []; |
411 | 411 | if (is_array($this->messages) == true) { |
412 | - foreach($this ->messages as $msg) { |
|
412 | + foreach ($this ->messages as $msg) { |
|
413 | 413 | if ($msg['index'] == $id) { |
414 | 414 | return $msg; |
415 | 415 | } |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | { |
430 | 430 | $message = []; |
431 | 431 | if (is_array($this->messages) == true) { |
432 | - foreach($this ->messages as $msg) { |
|
432 | + foreach ($this ->messages as $msg) { |
|
433 | 433 | if ($msg['index'] == $id) { |
434 | 434 | $message = $msg; |
435 | 435 | break; |