{
"message": "A function with return type must return a value",
"exception": "Symfony\\Component\\ErrorHandler\\Error\\FatalError",
"file": ".\\vendor\\stepanenko3\\nova-logs-tool\\src\\LogsService.php",
"line": 95,
"trace": []
}
From:
if (File::size($logFile) > self::MAX_FILE_SIZE) {
return;
}
To:
if (File::size($logFile) > self::MAX_FILE_SIZE) {
return [];
}
PHP 8.1.6 Laravel 9.18.0 Nova 4.10.0
From:
To:
seems to resolve the error
P.S. Thank you for this awesome package!