diff --git a/src/platform-includes/configuration/before-send-transaction/php.symfony.mdx b/src/platform-includes/configuration/before-send-transaction/php.symfony.mdx index af43afd011bed..573696ad6fe1f 100644 --- a/src/platform-includes/configuration/before-send-transaction/php.symfony.mdx +++ b/src/platform-includes/configuration/before-send-transaction/php.symfony.mdx @@ -4,10 +4,10 @@ In the Symfony config, a service can be used to modify the event or return a com ```yaml {filename:config/packages/sentry.yaml} sentry: options: - before_send: 'sentry.callback.before_send_transaction' + before_send_transaction: 'sentry.callback.before_send_transaction' services: - sentry.callback.before_send: + sentry.callback.before_send_transaction: class: 'App\Service\Sentry' factory: [ '@App\Service\Sentry', 'getBeforeSendTransaction' ] ```