Fix missed Notification using old Message::class

This commit is contained in:
2024-05-21 21:41:23 +10:00
parent 8df6384736
commit 51784df6a8
2 changed files with 7 additions and 13 deletions

View File

@@ -5,9 +5,8 @@ namespace App\Notifications\Netmails;
use Carbon\Carbon;
use Illuminate\Support\Facades\Log;
use App\Classes\FTN\Message;
use App\Notifications\Netmails;
use App\Models\Netmail;
use App\Models\{Echomail,Netmail};
use App\Traits\{MessagePath,PageTemplate};
class EchomailBadAddress extends Netmails
@@ -16,14 +15,14 @@ class EchomailBadAddress extends Netmails
private const LOGKEY = 'NBA';
private Message $mo;
private Echomail $mo;
/**
* Send a sysop a message if they give us a message with a bad address in it.
*
* @param Message $mo
* @param Echomail $mo
*/
public function __construct(Message $mo)
public function __construct(Echomail $mo)
{
parent::__construct();