@@ -338,13 +338,13 @@ |
||
| 338 | 338 | return imap_renamemailbox($this->connection, $this->getAddress() . imap_utf7_encode($old_name), $this->getAddress() . imap_utf7_encode($new_name)); |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | - /** |
|
| 342 | - * Delete Folder |
|
| 343 | - * @param string $name |
|
| 344 | - * |
|
| 345 | - * @return bool |
|
| 346 | - * @throws ConnectionFailedException |
|
| 347 | - */ |
|
| 341 | + /** |
|
| 342 | + * Delete Folder |
|
| 343 | + * @param string $name |
|
| 344 | + * |
|
| 345 | + * @return bool |
|
| 346 | + * @throws ConnectionFailedException |
|
| 347 | + */ |
|
| 348 | 348 | public function deleteFolder($name) { |
| 349 | 349 | $this->checkConnection(); |
| 350 | 350 | return imap_deletemailbox($this->connection, $this->getAddress() . imap_utf7_encode($name)); |
@@ -329,17 +329,17 @@ discard block |
||
| 329 | 329 | } |
| 330 | 330 | } |
| 331 | 331 | |
| 332 | - /** |
|
| 333 | - * Parse additional flags |
|
| 334 | - * |
|
| 335 | - * @return void |
|
| 336 | - */ |
|
| 332 | + /** |
|
| 333 | + * Parse additional flags |
|
| 334 | + * |
|
| 335 | + * @return void |
|
| 336 | + */ |
|
| 337 | 337 | private function parseFlags() { |
| 338 | - $flags = imap_fetch_overview($this->client->getConnection(), $this->uid, $this->fetch_options); |
|
| 339 | - if (is_array($flags) && isset($flags[0])) |
|
| 340 | - { |
|
| 341 | - $this->flags = $flags[0]; |
|
| 342 | - } |
|
| 338 | + $flags = imap_fetch_overview($this->client->getConnection(), $this->uid, $this->fetch_options); |
|
| 339 | + if (is_array($flags) && isset($flags[0])) |
|
| 340 | + { |
|
| 341 | + $this->flags = $flags[0]; |
|
| 342 | + } |
|
| 343 | 343 | } |
| 344 | 344 | |
| 345 | 345 | /** |
@@ -870,9 +870,9 @@ discard block |
||
| 870 | 870 | return $this->bodies; |
| 871 | 871 | } |
| 872 | 872 | |
| 873 | - /** |
|
| 874 | - * @return array |
|
| 875 | - */ |
|
| 873 | + /** |
|
| 874 | + * @return array |
|
| 875 | + */ |
|
| 876 | 876 | public function getFlags() { |
| 877 | 877 | return $this->flags; |
| 878 | 878 | } |