Skip to content

Commit 1260b87

Browse files
committed
Spacings fixed
1 parent 336dd3e commit 1260b87

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
@@ -255,7 +255,7 @@ private function parseHeader() {
255255
*/
256256
try {
257257
$this->date = Carbon::parse($date);
258-
} catch (\Exception $e) {
258+
} catch(\Exception $e) {
259259
switch (true) {
260260
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:
261261
$array = explode('(', $date);
@@ -298,7 +298,7 @@ private function parseHeader() {
298298
}
299299
if (property_exists($header, 'Msgno')) {
300300
$this->message_no = ($this->fetch_options == FT_UID) ? trim($header->Msgno) : imap_msgno($this->client->getConnection(), trim($header->Msgno));
301-
} else {
301+
} else{
302302
$this->message_no = imap_msgno($this->client->getConnection(), $this->getUid());
303303
}
304304
}
@@ -454,7 +454,7 @@ protected function fetchAttachment($structure, $partNumber) {
454454
public function setFetchOption($option) {
455455
if (is_long($option) == true) {
456456
$this->fetch_options = $option;
457-
}elseif (is_null($option) == true) {
457+
} elseif(is_null($option) == true) {
458458
$config = config('imap.options.fetch', FT_UID);
459459
$this->fetch_options = is_long($config) ? $config : 1;
460460
}

0 commit comments

Comments
 (0)