Skip to content

Commit 99538c5

Browse files
committed
docs: fix incorrect param
There is no param in getUserAgent().
1 parent e3c0edc commit 99538c5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

user_guide_src/source/incoming/incomingrequest.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,8 @@ The methods provided by the parent classes that are available are:
497497

498498
.. literalinclude:: incomingrequest/037.php
499499

500-
.. php:method:: getUserAgent([$filter = null])
500+
.. php:method:: getUserAgent()
501501
502-
:param int $filter: The type of filter to apply. A list of filters can be found in
503-
`Types of filters <https://www.php.net/manual/en/filter.filters.php>`__.
504502
:returns: The User Agent string, as found in the SERVER data, or null if not found.
505503
:rtype: CodeIgniter\\HTTP\\UserAgent
506504

0 commit comments

Comments
 (0)