From f2ece59e8e9f41f2c574f29be80ed4bdf606385c Mon Sep 17 00:00:00 2001 From: Tyler Vigeant Date: Mon, 18 Apr 2022 17:44:40 -0700 Subject: [PATCH] Resolving method signature issues with Adobe Commerce 2.4.4 --- Model/Logger/FileHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Model/Logger/FileHandler.php b/Model/Logger/FileHandler.php index 58aa0fc5..beb28ab0 100644 --- a/Model/Logger/FileHandler.php +++ b/Model/Logger/FileHandler.php @@ -119,7 +119,7 @@ protected function initializeRotatingLogs($filePath) * @param array $record * @return Boolean */ - public function isHandling(array $record) + public function isHandling(array $record): bool { return $this->avaTaxConfig->isModuleEnabled() && $this->avaTaxConfig->getLogFileEnabled() && @@ -132,7 +132,7 @@ public function isHandling(array $record) * @param $record array * @return void */ - public function write(array $record) + public function write(array $record): void { // Filter the log details if ($this->avaTaxConfig->getLogFileDetail() == LogDetail::MINIMAL && $record['level'] >= Logger::WARNING) {