Fix ping blank messages

This commit is contained in:
Deon George
2021-08-19 16:59:12 +10:00
parent bcf3297fdb
commit 8685c6407a
3 changed files with 8 additions and 4 deletions

View File

@@ -6,6 +6,8 @@ use Illuminate\Support\Arr;
abstract class Process
{
private const LOGKEY = 'R--';
protected const MSG_WIDTH = 79;
/**
@@ -63,7 +65,7 @@ abstract class Process
for ($c; $c<count($logo);$c++)
$msg .= utf8_decode(Arr::get($logo,$c))."\r";
$msg = utf8_decode(join("\r",static::msg_footer()))."\r";
$msg .= utf8_decode(join("\r",static::msg_footer()))."\r";
return $msg;
}