Skip to content

Commit

Permalink
fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Sep 1, 2024
1 parent a94108f commit 4681feb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Database/Log/CakeSentryLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Psr\Log\AbstractLogger;
use Psr\Log\LoggerInterface;
use Sentry\State\HubInterface;
use Stringable;

/**
* CakeSentry Query logger (originated from DebugKit Query logged)
Expand Down Expand Up @@ -160,7 +161,7 @@ public function role(): string
/**
* @inheritDoc
*/
public function log($level, $message, array $context = []): void
public function log($level, string|Stringable $message, array $context = []): void
{
/** @var \Cake\Database\Log\LoggedQuery $query */
$query = $context['query'];
Expand Down

0 comments on commit 4681feb

Please sign in to comment.