Skip to content

Commit

Permalink
fix: Uninitialized access in ExecIntegration (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM authored Jan 10, 2024
1 parent e752ef9 commit be1aac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Integrations/Integrations/Exec/ExecIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static function (HookData $hook) {
},
static function (HookData $hook) {
/** @var SpanData $span */
$span = $hook->data;
$span = $hook->data ?? null;
if (!$span) {
return;
}
Expand Down

0 comments on commit be1aac1

Please sign in to comment.