Skip to content

Commit 37945ae

Browse files
committed
Add return types in user guide comments
1 parent 1aafdde commit 37945ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guide/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ See an example setting the ``bulma`` view to default:
215215

216216
.. code-block:: php
217217
218-
$pager->setDefaultView('bulma');
218+
$pager->setDefaultView('bulma'); // static
219219
220220
And the call to render:
221221

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

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

277277
.. code-block:: php
278278
279-
$pager->setLanguage($language);
279+
$pager->setLanguage($language); // static
280280
281281
After setting the language, it is possible to render the pagination.
282282

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

316316
.. code-block:: php
317317
318-
$pager->setUrl($url);
318+
$pager->setUrl($url); // static
319319
320320
JSON-Encoding
321321
-------------

0 commit comments

Comments
 (0)