Skip to content

Commit 209bdf0

Browse files
committed
Simplify condition
1 parent 8128415 commit 209bdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MessageQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ protected function fetch(Collection $messages): array
309309

310310
return [
311311
$uid => [
312-
'size' => $size !== null ? (int) $size : null,
312+
'size' => $size ? (int) $size : null,
313313
'flags' => $data->lookup('FLAGS')?->values() ?? [],
314314
'headers' => $data->lookup('[HEADER]')->value ?? '',
315315
'contents' => $data->lookup('[TEXT]')->value ?? '',

0 commit comments

Comments
 (0)