Skip to content

Commit 90c648e

Browse files
HazATantonpirker
authored andcommitted
Fix Scope Class in Laravel (#14070)
1 parent 7b98f7b commit 90c648e

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/php/guides/laravel/enriching-events/identify-user

1 file changed

+1
-1
lines changed

docs/platforms/php/guides/laravel/enriching-events/identify-user/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function boot(): void
1616
\Illuminate\Support\Facades\Event::listen(function (\Illuminate\Auth\Events\Authenticated $event) {
1717
$user = $event->user;
1818

19-
\Sentry\Laravel\Integration::configureScope(static function (Scope $scope) use ($user): void {
19+
\Sentry\Laravel\Integration::configureScope(static function (\Sentry\State\Scope $scope) use ($user): void {
2020
$scope->setUser([
2121
'id' => $user->id,
2222
'name' => $user->name,

0 commit comments

Comments
 (0)