Skip to content

Commit 74c3d3a

Browse files
Missing semi-colon in session.md (#10105)
1 parent 131983e commit 74c3d3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: session.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ To mitigate this, Laravel provides functionality that allows you to limit concur
253253

254254
Route::post('/profile', function () {
255255
// ...
256-
})->block($lockSeconds = 10, $waitSeconds = 10)
256+
})->block($lockSeconds = 10, $waitSeconds = 10);
257257

258258
Route::post('/order', function () {
259259
// ...
260-
})->block($lockSeconds = 10, $waitSeconds = 10)
260+
})->block($lockSeconds = 10, $waitSeconds = 10);
261261

262262
The `block` method accepts two optional arguments. The first argument accepted by the `block` method is the maximum number of seconds the session lock should be held for before it is released. Of course, if the request finishes executing before this time the lock will be released earlier.
263263

@@ -267,7 +267,7 @@ If neither of these arguments is passed, the lock will be obtained for a maximum
267267

268268
Route::post('/profile', function () {
269269
// ...
270-
})->block()
270+
})->block();
271271

272272
<a name="adding-custom-session-drivers"></a>
273273
## Adding Custom Session Drivers

0 commit comments

Comments
 (0)