We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665f782 commit 561967dCopy full SHA for 561967d
src/EventListener/ExceptionListener.php
@@ -22,10 +22,10 @@
22
*/
23
class ExceptionListener implements SentryExceptionListenerInterface
24
{
25
- /** @var TokenStorageInterface */
+ /** @var TokenStorageInterface|null */
26
private $tokenStorage;
27
28
- /** @var AuthorizationCheckerInterface */
+ /** @var AuthorizationCheckerInterface|null */
29
private $authorizationChecker;
30
31
/** @var \Raven_Client */
@@ -52,10 +52,6 @@ public function __construct(
52
TokenStorageInterface $tokenStorage = null,
53
AuthorizationCheckerInterface $authorizationChecker = null
54
) {
55
- if (! $client) {
56
- $client = new SentrySymfonyClient();
57
- }
58
-
59
$this->client = $client;
60
$this->eventDispatcher = $dispatcher;
61
$this->skipCapture = $skipCapture;
0 commit comments