Skip to content

Commit

Permalink
Add return types in user guide comments
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Mar 30, 2023
1 parent 1aafdde commit 37945ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ See an example setting the ``bulma`` view to default:

.. code-block:: php
$pager->setDefaultView('bulma');
$pager->setDefaultView('bulma'); // static
And the call to render:

Expand Down Expand Up @@ -249,7 +249,7 @@ If you need to use a different view style, add the view name and filepath:
$name = 'my-pager';
$filepath = __DIR__ . '/Views/my-pager.php';
$pager->setView($name, $filepath);
$pager->setView($name, $filepath); // static
And then you can render it:

Expand All @@ -276,7 +276,7 @@ Or when needed via the ``setLanguage`` method:

.. code-block:: php
$pager->setLanguage($language);
$pager->setLanguage($language); // static
After setting the language, it is possible to render the pagination.

Expand Down Expand Up @@ -315,7 +315,7 @@ Or whenever you want via the ``setUrl`` method:

.. code-block:: php
$pager->setUrl($url);
$pager->setUrl($url); // static
JSON-Encoding
-------------
Expand Down

0 comments on commit 37945ae

Please sign in to comment.