Skip to content

Commit a95c0c7

Browse files
authored
fix: Make sentryMonitor macro chainable (#705)
1 parent 535f662 commit a95c0c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Sentry/Laravel/Features/ConsoleIntegration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function setupInactive(): void
6060
{
6161
SchedulingEvent::macro('sentryMonitor', function (string $monitorSlug) {
6262
// When there is no Sentry DSN set there is nothing for us to do, but we still want to allow the user to setup the macro
63+
return $this;
6364
});
6465
}
6566

0 commit comments

Comments
 (0)