|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
public function register(IRegistrationContext $context): void { |
|
48
|
48
|
$context->registerCrashReporter(RecursionAwareReporter::class); |
|
49
|
49
|
|
|
50
|
|
- $context->registerService(RecursionAwareReporter::class, function (IContainer $c) { |
|
|
50
|
+ $context->registerService(RecursionAwareReporter::class, function(IContainer $c) { |
|
51
|
51
|
/** @var SentryReporterAdapter $reporter */ |
|
52
|
52
|
$reporter = $c->query(SentryReporterAdapter::class); |
|
53
|
53
|
|
|
@@ -68,7 +68,7 @@ discard block |
|
|
block discarded – undo |
|
68
|
68
|
|
|
69
|
69
|
private function setInitialState(IInitialStateService $stateService, |
|
70
|
70
|
Config $config): void { |
|
71
|
|
- $stateService->provideLazyInitialState('sentry', 'dsn', function () use ($config) { |
|
|
71
|
+ $stateService->provideLazyInitialState('sentry', 'dsn', function() use ($config) { |
|
72
|
72
|
return [ |
|
73
|
73
|
'dsn' => $config->getDsn(), |
|
74
|
74
|
]; |
Please login to merge, or discard this patch.