| @@ -87,7 +87,7 @@ | ||
| 87 | 87 | } | 
| 88 | 88 | |
| 89 | 89 |  	protected function setSentryScope(array $context): void { | 
| 90 | -		configureScope(function (Scope $scope) use ($context): void { | |
| 90 | +		configureScope(function(Scope $scope) use ($context): void { | |
| 91 | 91 |  			if (isset($context['level'])) { | 
| 92 | 92 | $scope->setLevel( | 
| 93 | 93 | new Severity($this->levels[$context['level']]) | 
| @@ -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 | ]; |