Fix comments for Echomail Notifications

This commit is contained in:
Deon George 2024-06-10 09:19:21 +10:00
parent ba0f643dca
commit 61cfb773e2
4 changed files with 6 additions and 14 deletions

View File

@ -6,11 +6,10 @@ use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Log;
use App\Models\Echomail; use App\Models\Echomail;
use App\Models\Setup;
class EchomailChannel class EchomailChannel
{ {
private const LOGKEY = 'CN-'; private const LOGKEY = 'CNE';
/** /**
* @var Echomail * @var Echomail
@ -18,7 +17,7 @@ class EchomailChannel
protected Echomail $echomail; protected Echomail $echomail;
/** /**
* Create a new Netmail channel instance. * Create a new Echomail channel instance.
* *
* @param Echomail $o * @param Echomail $o
*/ */

View File

@ -6,11 +6,10 @@ use Illuminate\Notifications\Notification;
use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Log;
use App\Models\Netmail; use App\Models\Netmail;
use App\Models\Setup;
class NetmailChannel class NetmailChannel
{ {
private const LOGKEY = 'CN-'; private const LOGKEY = 'CNN';
/** /**
* @var Netmail * @var Netmail

View File

@ -20,9 +20,7 @@ class AbsentNodes extends Echomails
private Echomail $mo; private Echomail $mo;
/** /**
* Reply to a netmail ping request. * Report on nodes that are have been marked Idle.
*
* @param Echomail $mo
*/ */
public function __construct(private Collection $aos) public function __construct(private Collection $aos)
{ {

View File

@ -17,18 +17,14 @@ class Test extends Echomails
private const LOGKEY = 'NNP'; private const LOGKEY = 'NNP';
private Echomail $mo;
/** /**
* Reply to a netmail ping request. * Respond to a test in echomail.
* *
* @param Echomail $mo * @param Echomail $mo
*/ */
public function __construct(Echomail $mo) public function __construct(private Echomail $mo)
{ {
parent::__construct(); parent::__construct();
$this->mo = $mo;
} }
/** /**