diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 16:09:16 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 16:36:42 +0300 |
commit | 7143b9cb687ca75b3be2654d1fe59bff92f24af8 (patch) | |
tree | 9bed28d0e3c93908b6fbccaff335e93bc43a95b2 /lib/Contracts | |
parent | 5babccec005f665558fc2b8aab669bd8ea27c166 (diff) |
Fix psalm errors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 4 | ||||
-rw-r--r-- | lib/Contracts/IMailTransmission.php | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index 6f6a1c14d..02c3254cc 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -93,14 +93,14 @@ interface IMailManager { /** * @param Account $account - * @param string $mb + * @param string $mailbox * @param int $uid * * @return string * @throws ClientException * @throws ServiceException */ - public function getSource(Account $account, string $mb, int $uid): ?string; + public function getSource(Account $account, string $mailbox, int $uid): ?string; /** * @param Account $account diff --git a/lib/Contracts/IMailTransmission.php b/lib/Contracts/IMailTransmission.php index d4e4c3c57..f58ae37d6 100644 --- a/lib/Contracts/IMailTransmission.php +++ b/lib/Contracts/IMailTransmission.php @@ -34,17 +34,17 @@ interface IMailTransmission { /** * Send a new message or reply to an existing one * - * @param NewMessageData $message - * @param RepliedMessageData|null $reply + * @param NewMessageData $messageData + * @param RepliedMessageData|null $replyData * @param Alias|null $alias * @param Message|null $draft * * @throws ServiceException */ - public function sendMessage(NewMessageData $message, - RepliedMessageData $reply = null, + public function sendMessage(NewMessageData $messageData, + RepliedMessageData $replyData = null, Alias $alias = null, - Message $draft = null); + Message $draft = null): void; /** * Save a message draft |