@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | */ |
| 273 | 273 | try { |
| 274 | 274 | $this->date = Carbon::parse($date); |
| 275 | - } catch(\Exception $e) { |
|
| 275 | + } catch (\Exception $e) { |
|
| 276 | 276 | switch (true) { |
| 277 | 277 | case preg_match('/([A-Z]{2,3}\,\ [0-9]{1,2}\ [A-Z]{2,3}\ [0-9]{4}\ [0-9]{1,2}\:[0-9]{1,2}\:[0-9]{1,2}\ \+[0-9]{4}\ \([A-Z]{2,3}\+[0-9]{1,2}\:[0-9]{1,2})\)+$/i', $date) > 0: |
| 278 | 278 | $array = explode('(', $date); |
@@ -314,9 +314,9 @@ discard block |
||
| 314 | 314 | $this->message_id = str_replace(['<', '>'], '', $header->message_id); |
| 315 | 315 | } |
| 316 | 316 | if (property_exists($header, 'Msgno')) { |
| 317 | - $messageNo = (int)trim($header->Msgno); |
|
| 317 | + $messageNo = (int) trim($header->Msgno); |
|
| 318 | 318 | $this->message_no = ($this->fetch_options == FT_UID) ? $messageNo : imap_msgno($this->client->getConnection(), $messageNo); |
| 319 | - } else{ |
|
| 319 | + } else { |
|
| 320 | 320 | $this->message_no = imap_msgno($this->client->getConnection(), $this->getUid()); |
| 321 | 321 | } |
| 322 | 322 | } |