More complete rework of packet parsing and packet generation with 29710c
This commit is contained in:
@@ -9,11 +9,9 @@ use App\Models\{Echoarea,Echomail,Netmail};
|
||||
*/
|
||||
abstract class Process
|
||||
{
|
||||
public static function canProcess(string $echoarea): bool
|
||||
public static function canProcess(Echoarea $eao): bool
|
||||
{
|
||||
$eao = Echoarea::where('name',$echoarea)->single();
|
||||
|
||||
return $eao && $eao->automsgs;
|
||||
return $eao->automsgs;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user