Skip to content

Commit

Permalink
Merge pull request jkphl#76 from madeITBelgium/patch-1
Browse files Browse the repository at this point in the history
Fix Declaration of ExceptionLogger::log
  • Loading branch information
rvanlaak authored Feb 23, 2023
2 parents f8149d9 + b27a9cb commit 44cc303
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 44cc303

Please sign in to comment.