Skip to content

Commit 53cee86

Browse files
authored
Fix config formatting (#937)
1 parent 14eb86a commit 53cee86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/sentry.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
'environment' => env('SENTRY_ENVIRONMENT'),
2525

2626
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#sample-rate
27-
'sample_rate' => env('SENTRY_SAMPLE_RATE') === null ? 1.0 : (float)env('SENTRY_SAMPLE_RATE'),
27+
'sample_rate' => env('SENTRY_SAMPLE_RATE') === null ? 1.0 : (float) env('SENTRY_SAMPLE_RATE'),
2828

2929
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate
30-
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_TRACES_SAMPLE_RATE'),
30+
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_TRACES_SAMPLE_RATE'),
3131

3232
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#profiles-sample-rate
33-
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_PROFILES_SAMPLE_RATE'),
33+
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_PROFILES_SAMPLE_RATE'),
3434

3535
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii
3636
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),

0 commit comments

Comments
 (0)