@@ -14,7 +14,7 @@ class CheckMalwareScanner extends Command
|
||||
public function handle(MalwareScanner $scanner): int
|
||||
{
|
||||
$health = $scanner->health();
|
||||
$this->line('Scanner: '.($health['engine'] ?? 'ClamAV'));
|
||||
$this->line('Scanner: '.($health['engine']));
|
||||
$this->line('Available: '.($health['available'] ? 'yes' : 'no'));
|
||||
$this->line('Engine version: '.($health['engine_version'] ?? 'unavailable'));
|
||||
$this->line('Signatures UTC: '.($health['signatures_at']?->format(DATE_ATOM) ?? 'unavailable'));
|
||||
|
||||
Reference in New Issue
Block a user