Skip to content

Commit

Permalink
Update src/Instrumentation/Doctrine/src/DoctrineInstrumentation.php
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Bachert <git@b-privat.de>
  • Loading branch information
DominicDetta and Nevay authored Oct 7, 2024
1 parent 011365e commit 046e810
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static function register(): void
$span = $builder->startSpan();
Context::storage()->attach($span->storeInContext($parent));
},
post: static function (\Doctrine\DBAL\Driver $driver, array $params, \Doctrine\DBAL\Driver\Connection $connection, ?Throwable $exception) {
post: static function (\Doctrine\DBAL\Driver $driver, array $params, ?\Doctrine\DBAL\Driver\Connection $connection, ?Throwable $exception) {
$scope = Context::storage()->scope();
if (!$scope) {
return;
Expand Down

0 comments on commit 046e810

Please sign in to comment.