From 7a0ae90241e304dcc52fb3688b58ecb1f1659b94 Mon Sep 17 00:00:00 2001 From: Daniel Sousa Date: Mon, 2 May 2022 15:11:20 +0100 Subject: [PATCH] fixes #82 - return value --- Logger/Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logger/Logger.php b/Logger/Logger.php index 19a185a..9c3a09b 100644 --- a/Logger/Logger.php +++ b/Logger/Logger.php @@ -63,7 +63,7 @@ public function __construct( public function debug($message, array $context = []): void { if ($this->configProvider->isDebugEnabled()) { - return $this->addRecord(static::DEBUG, $message, $context); + $this->addRecord(static::DEBUG, $message, $context); } }