Skip to content

Commit bddb931

Browse files
committed
Replace usage of Str::replace not available in all supported versions
1 parent 9cf2fc0 commit bddb931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/Features/ConsoleIntegration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function buildCacheKey(string $mutex, string $slug): string
174174
private function makeSlugForScheduled(SchedulingEvent $scheduled): string
175175
{
176176
$generatedSlug = Str::slug(
177-
Str::replace(
177+
str_replace(
178178
// `:` is commonly used in the command name, so we replace it with `-` to avoid it being stripped out by the slug function
179179
':',
180180
'-',

0 commit comments

Comments
 (0)