chore: Аннотации к типам
This commit is contained in:
parent
5e8958969f
commit
f964472e62
28 changed files with 140 additions and 36 deletions
|
|
@ -147,7 +147,7 @@ class Validator
|
|||
return $this->isValid();
|
||||
}
|
||||
|
||||
public function addError(string $name, string $message)
|
||||
public function addError(string $name, string $message): void
|
||||
{
|
||||
$this->errorMsg[$name] = $message;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue