Skip to content

Commit 22ebf01

Browse files
authored
chore(php): add leading slash to avoid import (#4725)
1 parent 9e5eb4c commit 22ebf01

File tree

1 file changed

+2
-2
lines changed
  • src/includes/enriching-events/breadcrumbs/breadcrumbs-example

1 file changed

+2
-2
lines changed

src/includes/enriching-events/breadcrumbs/breadcrumbs-example/php.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
```php
22
\Sentry\addBreadcrumb(
33
new \Sentry\Breadcrumb(
4-
Sentry\Breadcrumb::LEVEL_INFO,
5-
Sentry\Breadcrumb::TYPE_DEFAULT,
4+
\Sentry\Breadcrumb::LEVEL_INFO,
5+
\Sentry\Breadcrumb::TYPE_DEFAULT,
66
'auth', // category
77
'Authenticated user', // message (optional)
88
['user_id' => $userId] // data (optional)

0 commit comments

Comments
 (0)