Skip to content

Commit 4b3aeda

Browse files
committed
Adjust formatting
1 parent b8a8366 commit 4b3aeda

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/MessageQuery.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,19 +263,24 @@ protected function fetch(Collection $messages): array
263263
'desc' => $messages->sortDesc(SORT_NUMERIC),
264264
};
265265

266-
$uids = $messages->forPage($this->page, $this->limit)->values();
266+
$uids = $messages->forPage($this->page, $this->limit)
267+
->values()
268+
->all();
267269

268270
$flags = $this->fetchFlags ? $this->connection()
269271
->flags($uids)
270-
->mapWithKeys(MessageResponseParser::getFlags(...))->all() : [];
272+
->mapWithKeys(MessageResponseParser::getFlags(...))
273+
->all() : [];
271274

272275
$headers = $this->fetchHeaders ? $this->connection()
273276
->bodyHeader($uids, $this->fetchAsUnread)
274-
->mapWithKeys(MessageResponseParser::getBodyHeader(...))->all() : [];
277+
->mapWithKeys(MessageResponseParser::getBodyHeader(...))
278+
->all() : [];
275279

276280
$contents = $this->fetchBody ? $this->connection()
277281
->bodyText($uids, $this->fetchAsUnread)
278-
->mapWithKeys(MessageResponseParser::getBodyText(...))->all() : [];
282+
->mapWithKeys(MessageResponseParser::getBodyText(...))
283+
->all() : [];
279284

280285
return [
281286
'uids' => $uids,

0 commit comments

Comments
 (0)