@@ -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)); |
@@ -295,7 +295,7 @@ |
||
295 | 295 | $numMessages = imap_num_msg($this->getClient()->getConnection()); |
296 | 296 | if($limit == null || $limit > $numMessages){ |
297 | 297 | $maxMessages = $numMessages; |
298 | - }else{ |
|
298 | + } else{ |
|
299 | 299 | $maxMessages = $limit; |
300 | 300 | } |
301 | 301 | if ($availableMessages !== false) { |