@@ -321,7 +321,7 @@ The methods provided by the parent classes that are available are:
321321 :param int $flags: Flags to apply. A list of flags can be found
322322 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
323323 :returns: ``$_REQUEST `` if no parameters supplied, otherwise the REQUEST value if found, or null if not
324- :rtype: mixed |null
324+ :rtype: array|bool|float|int|object|string |null
325325
326326 The first parameter will contain the name of the REQUEST item you are looking for:
327327
@@ -360,7 +360,7 @@ The methods provided by the parent classes that are available are:
360360 :param int $flags: Flags to apply. A list of flags can be found
361361 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
362362 :returns: ``$_GET `` if no parameters supplied, otherwise the GET value if found, or null if not
363- :rtype: mixed |null
363+ :rtype: array|bool|float|int|object|string |null
364364
365365 This method is identical to ``getVar() ``, only it fetches GET data.
366366
@@ -372,7 +372,7 @@ The methods provided by the parent classes that are available are:
372372 :param int $flags: Flags to apply. A list of flags can be found
373373 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
374374 :returns: ``$_POST `` if no parameters supplied, otherwise the POST value if found, or null if not
375- :rtype: mixed |null
375+ :rtype: array|bool|float|int|object|string |null
376376
377377 This method is identical to ``getVar() ``, only it fetches POST data.
378378
@@ -385,7 +385,7 @@ The methods provided by the parent classes that are available are:
385385 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
386386 :returns: ``$_POST `` and ``$_GET `` combined if no parameters specified (prefer POST value on conflict),
387387 otherwise looks for POST value, if nothing found looks for GET value, if no value found returns null
388- :rtype: mixed |null
388+ :rtype: array|bool|float|int|object|string |null
389389
390390 This method works pretty much the same way as ``getPost() `` and ``getGet() ``, only combined.
391391 It will search through both POST and GET streams for data, looking first in POST, and
@@ -405,7 +405,7 @@ The methods provided by the parent classes that are available are:
405405 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
406406 :returns: ``$_GET `` and ``$_POST `` combined if no parameters specified (prefer GET value on conflict),
407407 otherwise looks for GET value, if nothing found looks for POST value, if no value found returns null
408- :rtype: mixed |null
408+ :rtype: array|bool|float|int|object|string |null
409409
410410 This method works pretty much the same way as ``getPost() `` and ``getGet() ``, only combined.
411411 It will search through both GET and POST streams for data, looking first in GET, and
@@ -418,13 +418,13 @@ The methods provided by the parent classes that are available are:
418418
419419 .. php :method :: getCookie([$index = null[, $filter = null[, $flags = null]]])
420420
421- :param mixed $index: COOKIE name
421+ :param array|string|null $index: COOKIE name
422422 :param int $filter: The type of filter to apply. A list of filters can be
423423 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
424424 :param int $flags: Flags to apply. A list of flags can be found
425425 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
426426 :returns: ``$_COOKIE `` if no parameters supplied, otherwise the COOKIE value if found or null if not
427- :rtype: mixed
427+ :rtype: array|bool|float|int|object|string|null
428428
429429 This method is identical to ``getPost() `` and ``getGet() ``, only it fetches cookie data:
430430
@@ -440,13 +440,13 @@ The methods provided by the parent classes that are available are:
440440
441441 .. php :method :: getServer([$index = null[, $filter = null[, $flags = null]]])
442442
443- :param mixed $index: Value name
443+ :param array|string|null $index: Value name
444444 :param int $filter: The type of filter to apply. A list of filters can be
445445 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
446446 :param int $flags: Flags to apply. A list of flags can be found
447447 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
448448 :returns: ``$_SERVER `` item value if found, null if not
449- :rtype: mixed
449+ :rtype: array|bool|float|int|object|string|null
450450
451451 This method is identical to the ``getPost() ``, ``getGet() `` and ``getCookie() ``
452452 methods, only it fetches getServer data (``$_SERVER ``):
@@ -463,7 +463,7 @@ The methods provided by the parent classes that are available are:
463463 :param int $filter: The type of filter to apply. A list of filters can be
464464 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
465465 :returns: The User Agent string, as found in the SERVER data, or null if not found.
466- :rtype: mixed
466+ :rtype: CodeIgniter \\ HTTP \\ UserAgent
467467
468468 This method returns the User Agent string from the SERVER data:
469469
0 commit comments