-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
Describe the bug
On this line since 1.5.0 you added Event:
laravel-imap/src/IMAP/Message.php
Line 1004 in d56d2cc
| MessageMovedEvent::dispatch($this, $message); |
But the MessageMovedEvent has this signature
| public function __construct($old_message, $new_message) { |
You are missing the second parameter for the event. The result is that message->moveToFolder does not work and throws an error:
Too few arguments to function Webklex\IMAP\Events\MessageMovedEvent::__construct(), 1 passed in /var/www/vendor/webklex/laravel-imap/src/IMAP/Events/Event.php on line 15 and exactly 2 expected