diff --git a/src/functions.php b/src/functions.php index af967c8f9..e5ae3b4fb 100644 --- a/src/functions.php +++ b/src/functions.php @@ -15,6 +15,7 @@ use Sentry\Tracing\SpanContext; use Sentry\Tracing\Transaction; use Sentry\Tracing\TransactionContext; +use Sentry\Transport\TransportInterface; /** * Creates a new Client and Hub which will be set as current. @@ -65,7 +66,7 @@ * trace_propagation_targets?: array|null, * traces_sample_rate?: float|int|null, * traces_sampler?: callable|null, - * transport?: callable, + * transport?: TransportInterface|null, * } $options The client options */ function init(array $options = []): void