chore: Аннотации к типам

This commit is contained in:
origami11@yandex.ru 2025-10-27 16:39:44 +03:00
parent 730a608f9b
commit 89913de4fe
19 changed files with 124 additions and 24 deletions

View file

@ -72,6 +72,11 @@ class Collection implements \ArrayAccess
return (string)$this->get($key, $default);
}
/**
* @param string $key
* @param int $default
* @return int
*/
public function getNat($key, $default = 1)
{
$result = (int)$this->get($key, $default);