Skip to content

Commit f6bb2ff

Browse files
Merge 4.2 into 4.3 (#3018)
2 parents 3c8a3fb + 97aafc7 commit f6bb2ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/transactions.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,16 @@ to another account:
9999
:start-after: begin transaction callback
100100
:end-before: end transaction callback
101101

102-
You can optionally pass the maximum number of times to retry a failed transaction as the second parameter as shown in the following code example:
102+
You can optionally pass the maximum number of times to retry a failed transaction
103+
as the second parameter, as shown in the following code example:
103104

104105
.. code-block:: php
105106
:emphasize-lines: 4
106107

107108
DB::transaction(function() {
108109
// transaction code
109110
},
110-
retries: 5,
111+
attempts: 5,
111112
);
112113

113114
.. _laravel-transaction-commit:

0 commit comments

Comments
 (0)