@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** @var IEventDispatcher $dispatcher */ |
60 | 60 | $dispatcher = $container->query(IEventDispatcher::class); |
61 | - $dispatcher->addListener(AddContentSecurityPolicyEvent::class, function (AddContentSecurityPolicyEvent $event) use ($reportUrl, $publicDsn) { |
|
61 | + $dispatcher->addListener(AddContentSecurityPolicyEvent::class, function(AddContentSecurityPolicyEvent $event) use ($reportUrl, $publicDsn) { |
|
62 | 62 | $event->addPolicy($this->createCsp($publicDsn, $reportUrl)); |
63 | 63 | }); |
64 | 64 | } |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** @var IInitialStateService $stateService */ |
112 | 112 | $stateService = $container->query(IInitialStateService::class); |
113 | 113 | |
114 | - $stateService->provideLazyInitialState('sentry', 'dsn', function () use ($dsn) { |
|
114 | + $stateService->provideLazyInitialState('sentry', 'dsn', function() use ($dsn) { |
|
115 | 115 | return [ |
116 | 116 | 'dsn' => $dsn === '' ? null : $dsn, |
117 | 117 | ]; |
@@ -88,7 +88,7 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | protected function setSentryScope(array $context): void { |
91 | - configureScope(function (Scope $scope) use ($context): void { |
|
91 | + configureScope(function(Scope $scope) use ($context): void { |
|
92 | 92 | if (isset($context['level'])) { |
93 | 93 | $scope->setLevel( |
94 | 94 | new Severity(self::levels[$context['level']]) |