Skip to content

Commit ba74198

Browse files
committed
spacings fixed
1 parent fba8326 commit ba74198

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/IMAP/Message.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private function parseHeader() {
272272
*/
273273
try {
274274
$this->date = Carbon::parse($date);
275-
} catch(\Exception $e) {
275+
} catch (\Exception $e) {
276276
switch (true) {
277277
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:
278278
$array = explode('(', $date);
@@ -314,9 +314,9 @@ private function parseHeader() {
314314
$this->message_id = str_replace(['<', '>'], '', $header->message_id);
315315
}
316316
if (property_exists($header, 'Msgno')) {
317-
$messageNo = (int)trim($header->Msgno);
317+
$messageNo = (int) trim($header->Msgno);
318318
$this->message_no = ($this->fetch_options == FT_UID) ? $messageNo : imap_msgno($this->client->getConnection(), $messageNo);
319-
} else{
319+
} else {
320320
$this->message_no = imap_msgno($this->client->getConnection(), $this->getUid());
321321
}
322322
}

0 commit comments

Comments
 (0)