File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments