@@ -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); |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | } |
316 | 316 | if (property_exists($header, 'Msgno')) { |
317 | 317 | $this->message_no = ($this->fetch_options == FT_UID) ? trim($header->Msgno) : imap_msgno($this->client->getConnection(), trim($header->Msgno)); |
318 | - } else{ |
|
318 | + } else { |
|
319 | 319 | $this->message_no = imap_msgno($this->client->getConnection(), $this->getUid()); |
320 | 320 | } |
321 | 321 | } |