diff --git a/src/ActivityLogger.php b/src/ActivityLogger.php index 464862e1..0b93f1d3 100644 --- a/src/ActivityLogger.php +++ b/src/ActivityLogger.php @@ -195,7 +195,7 @@ public function withoutLogs(Closure $callback): mixed protected function replacePlaceholders(string $description, ActivityContract $activity): string { - return preg_replace_callback('/:[a-z0-9._-]+/i', function ($match) use ($activity) { + return preg_replace_callback('/:[a-z0-9._-]+(?