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) {