feat: Строгие типы для HttpRequest

This commit is contained in:
origami11@yandex.ru 2025-12-03 18:32:21 +03:00
parent 5170ed8ed5
commit 74aa44bdc0
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class Collection implements \ArrayAccess
/** /**
* @param string $key * @param string $key
* @param int $default * @param int $default
* @return int * @return int
*/ */
public function getInt($key, $default = 0) public function getInt($key, $default = 0)

View file

@ -55,7 +55,7 @@ class HttpRequest extends Collection
/** /**
* @param string $key * @param string $key
* @param mixed $default * @param mixed $default
* @return mixed * @return null|string|array
*/ */
function get($key, $default = null) function get($key, $default = null)
{ {