chore: Аннотация типов

This commit is contained in:
Wizard 2025-11-01 23:17:40 +03:00
parent f964472e62
commit cf0bc435ce
19 changed files with 96 additions and 37 deletions

View file

@ -53,6 +53,9 @@ class Primitive {
return ((int) $value);
}
/**
* @param mixed $value
*/
public static function from_int($value): string
{
return ((string) $value);