Skip to content

Commit

Permalink
Fix Declaration of ExceptionLogger::log
Browse files Browse the repository at this point in the history
  • Loading branch information
madeITBelgium authored Feb 20, 2023
1 parent f8149d9 commit b27a9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Micrometa/Infrastructure/Logger/ExceptionLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct($threshold = Logger::ERROR)
* @throws \Exception Exception that occured
* @throws \RuntimeException Log message as exception
*/
public function log($level, $message, array $context = [])
public function log($level, $message, array $context = []): void
{
$level = Logger::toMonologLevel($level);
if ($level instanceof Level) {
Expand Down

0 comments on commit b27a9cb

Please sign in to comment.