Skip to content

Commit 3739509

Browse files
authored
Merge pull request #8106 from WideeFr/patch-1
Paginator->counter's first param is string
2 parents 9bfc1f9 + 6505b0e commit 3739509

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

en/views/helpers/paginator.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@ navigation, also supplied by the PaginationHelper::
546546
The wording output by the counter() method can also be customized using special
547547
markers::
548548

549-
<?= $this->Paginator->counter([
550-
'format' => 'Page {{page}} of {{pages}}, showing {{current}} records out of
551-
{{count}} total, starting on record {{start}}, ending on {{end}}'
552-
]) ?>
549+
<?= $this->Paginator->counter(
550+
'Page {{page}} of {{pages}}, showing {{current}} records out of
551+
{{count}} total, starting on record {{start}}, ending on {{end}}'
552+
) ?>
553553

554554
.. _paginator-helper-multiple:
555555

0 commit comments

Comments
 (0)