We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de8412 commit 06aa7b0Copy full SHA for 06aa7b0
src/Bus/MongoBatchRepository.php
@@ -193,7 +193,7 @@ public function delete(string $batchId): void
193
#[Override]
194
public function transaction(Closure $callback): mixed
195
{
196
- return $this->connection->transaction(fn () => $callback());
+ return $this->connection->transaction($callback);
197
}
198
199
/** Rollback the last database transaction for the connection. */
0 commit comments