@@ -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|stdClass|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|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|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|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|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
@@ -419,13 +419,13 @@ The methods provided by the parent classes that are available are:
419419 .. php :method :: getCookie([$index = null[, $filter = null[, $flags = null]]])
420420 :noindex:
421421
422- :param mixed $index: COOKIE name
422+ :param array|string|null $index: COOKIE name
423423 :param int $filter: The type of filter to apply. A list of filters can be
424424 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
425425 :param int $flags: Flags to apply. A list of flags can be found
426426 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
427427 :returns: ``$_COOKIE `` if no parameters supplied, otherwise the COOKIE value if found or null if not
428- :rtype: mixed
428+ :rtype: array|bool|string|null
429429
430430 This method is identical to ``getPost() `` and ``getGet() ``, only it fetches cookie data:
431431
@@ -442,13 +442,13 @@ The methods provided by the parent classes that are available are:
442442 .. php :method :: getServer([$index = null[, $filter = null[, $flags = null]]])
443443 :noindex:
444444
445- :param mixed $index: Value name
445+ :param array|string|null $index: Value name
446446 :param int $filter: The type of filter to apply. A list of filters can be
447447 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
448448 :param int $flags: Flags to apply. A list of flags can be found
449449 `here <https://www.php.net/manual/en/filter.filters.flags.php >`__.
450450 :returns: ``$_SERVER `` item value if found, null if not
451- :rtype: mixed
451+ :rtype: array|bool|string|null
452452
453453 This method is identical to the ``getPost() ``, ``getGet() `` and ``getCookie() ``
454454 methods, only it fetches getServer data (``$_SERVER ``):
@@ -465,7 +465,7 @@ The methods provided by the parent classes that are available are:
465465 :param int $filter: The type of filter to apply. A list of filters can be
466466 found `here <https://www.php.net/manual/en/filter.filters.php >`__.
467467 :returns: The User Agent string, as found in the SERVER data, or null if not found.
468- :rtype: mixed
468+ :rtype: CodeIgniter \\ HTTP \\ UserAgent
469469
470470 This method returns the User Agent string from the SERVER data:
471471
0 commit comments