app/Services/MessageService.php
Method deliverMessage
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function deliverMessage(UserInterface $sender, UserInterface $recipient, string $subject, string $body, string $url, string $ip): bool
{
$success = true;
// Temporarily switch to the recipient's language
Method deliverMessage
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function deliverMessage(UserInterface $sender, UserInterface $recipient, string $subject, string $body, string $url, string $ip): bool