Skip to content

Commit

Permalink
fixup! feat: mail provider backend
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Aug 28, 2024
1 parent 2fc934d commit f63ac4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Provider/MailProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function findServiceById(string $userId, string $serviceId): IService|nul
return null;
}
// retrieve service details from data store
try {
try {
$account = $this->accountService->find($userId, (int)$serviceId);
} catch(\Throwable $e) {
$this->logger->error('Error occurred while retrieving mail account details', [ 'exception' => $e ]);
Expand Down
2 changes: 1 addition & 1 deletion lib/Provider/MailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function initiateMessage(): IMessage {
*
* @throws SendException on failure, check message for reason
*/
public function sendMessage(IMessage $message, array $option = []): void {
public function sendMessage(IMessage $message, array $options = []): void {
/** @var MessageSend $cmd */
$cmd = $this->container->get(MessageSend::class);
// perform action
Expand Down

0 comments on commit f63ac4d

Please sign in to comment.