From 5b42a6dba29d600f00146cd00aae58ef30489fb0 Mon Sep 17 00:00:00 2001 From: brendt Date: Sat, 25 May 2024 12:53:13 +0200 Subject: [PATCH] Cleanup --- src/Commands/TailCommand.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Commands/TailCommand.php b/src/Commands/TailCommand.php index 7814b11..525c573 100644 --- a/src/Commands/TailCommand.php +++ b/src/Commands/TailCommand.php @@ -11,9 +11,9 @@ final readonly class TailCommand { public function __construct( - private TailDebugLogCommand $logDebugCommand, - private TailProjectLogCommand $logProjectCommand, - private TailServerLogCommand $logServerCommand, + private TailDebugLogCommand $tailDebugLogCommand, + private TailProjectLogCommand $tailProjectLogCommand, + private TailServerLogCommand $tailServerLogCommand, ) {} #[ConsoleCommand( @@ -34,9 +34,9 @@ public function __invoke( /** @var array $loggers */ $loggers = array_filter([ - ($shouldFilter === false || $debug) ? $this->logDebugCommand : null, - ($shouldFilter === false || $project) ? $this->logProjectCommand : null, - ($shouldFilter === false || $server) ? $this->logServerCommand : null, + ($shouldFilter === false || $debug) ? $this->tailDebugLogCommand : null, + ($shouldFilter === false || $project) ? $this->tailProjectLogCommand : null, + ($shouldFilter === false || $server) ? $this->tailServerLogCommand : null, ]); /** @var Fiber[] $fibers */