Fixed some more inspection issues

This commit is contained in:
Jan Böhmer 2023-04-15 22:05:29 +02:00
parent de96aae9a5
commit 29d1d49aca
83 changed files with 153 additions and 172 deletions

View file

@ -35,9 +35,9 @@ class NoneOfItsChildren extends Constraint
/**
* @var string The message used if it is tried to assign a object as its own parent
*/
public $self_message = 'validator.noneofitschild.self';
public string $self_message = 'validator.noneofitschild.self';
/**
* @var string The message used if it is tried to use one of the children for as parent
*/
public $children_message = 'validator.noneofitschild.children';
public string $children_message = 'validator.noneofitschild.children';
}