chore: Аннотация типов
This commit is contained in:
parent
f964472e62
commit
cf0bc435ce
19 changed files with 96 additions and 37 deletions
|
|
@ -53,6 +53,9 @@ class Primitive {
|
|||
return ((int) $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $value
|
||||
*/
|
||||
public static function from_int($value): string
|
||||
{
|
||||
return ((string) $value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue