Skip to content

Commit d4a2a0c

Browse files
committed
remove arg
1 parent 62a313a commit d4a2a0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Illuminate/Database/Concerns/ManagesTransactions.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ trait ManagesTransactions
1616
*
1717
* @param (\Closure(static): TReturn) $callback
1818
* @param int $attempts
19-
* @param Closure|null $onFailure
2019
* @return TReturn
2120
*
2221
* @throws \Throwable
2322
*/
24-
public function transaction(Closure $callback, $attempts = 1, ?Closure $onFailure = null)
23+
public function transaction(Closure $callback, $attempts = 1)
2524
{
2625
for ($currentAttempt = 1; $currentAttempt <= $attempts; $currentAttempt++) {
2726
$this->beginTransaction();

0 commit comments

Comments
 (0)