diff --git a/src/Features/Context/TiqrContext.php b/src/Features/Context/TiqrContext.php index 8b657a7d..f77726c3 100644 --- a/src/Features/Context/TiqrContext.php +++ b/src/Features/Context/TiqrContext.php @@ -407,8 +407,7 @@ public function iScanTheTiqrAuthenticationQrcode(): void */ public function clearTheLogs(): void { - $logger = $this->fileLogger; - $logger->cleanLogs(); + $this->fileLogger->cleanLogs(); } /** @@ -419,8 +418,7 @@ public function clearTheLogs(): void */ public function theLogsAre(TableNode $table): void { - $logger = $this->fileLogger; - $logs = $logger->cleanLogs(); + $logs = $this->fileLogger->cleanLogs(); $rows = array_values($table->getColumnsHash()); try {