Skip to content

Commit cc2768e

Browse files
committed
Cast to array
1 parent 619d1d1 commit cc2768e

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
@@ -75,7 +75,7 @@ public function get(): MessageCollection
7575
public function append(string $message, mixed $flags = null): int
7676
{
7777
$response = $this->connection()->append(
78-
$this->folder->path(), $message, Str::enums($flags),
78+
$this->folder->path(), $message, (array) Str::enums($flags),
7979
);
8080

8181
return (int) $response // TAG4 OK [APPENDUID <uidvalidity> <uid>] APPEND completed.

0 commit comments

Comments
 (0)