mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 17:57:09 +00:00
Various bug fixes and code cleanup.
This commit is contained in:
@@ -180,7 +180,8 @@ class DebugController extends Controller
|
||||
|
||||
// get latest log file:
|
||||
$logger = Log::driver();
|
||||
$handlers = $logger->getHandlers();
|
||||
// PHPstan doesn't recognize the method because of its polymorphic nature.
|
||||
$handlers = $logger->getHandlers(); // @phpstan-ignore-line
|
||||
$logContent = '';
|
||||
foreach ($handlers as $handler) {
|
||||
if ($handler instanceof RotatingFileHandler) {
|
||||
|
Reference in New Issue
Block a user