Skip to content

Commit bc2c9c3

Browse files
committed
minor
1 parent 889b43a commit bc2c9c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/browser_kit.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,15 +333,15 @@ history::
333333
if (!$client->getHistory()->isFirstPage()) {
334334
$crawler = $client->back();
335335
}
336-
336+
337337
// check if the history position is on the last page
338338
if (!$client->getHistory()->isLastPage()) {
339339
$crawler = $client->forward();
340340
}
341341

342342
.. versionadded:: 7.4
343343

344-
The ``isFirstPage`` and ``isLastPage`` methods were introduced in Symfony 7.4.
344+
The ``isFirstPage()`` and ``isLastPage()`` methods were introduced in Symfony 7.4.
345345

346346
You can delete the client's history with the ``restart()`` method. This will
347347
also delete all the cookies::

0 commit comments

Comments
 (0)