Skip to content

Commit 238424f

Browse files
committed
Use make method instead of magic container accessor
1 parent 0f1c481 commit 238424f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function bindEvents(): void
109109
}
110110

111111
if ($this->app->bound('queue')) {
112-
$handler->subscribeQueueEvents($this->app->queue);
112+
$handler->subscribeQueueEvents($this->app->make('queue'));
113113
}
114114

115115
if (isset($userConfig['send_default_pii']) && $userConfig['send_default_pii'] !== false) {

0 commit comments

Comments
 (0)