Applied symplify rules to codebase.

This commit is contained in:
Jan Böhmer 2020-01-05 22:49:00 +01:00
parent 2f20d90041
commit 388e847b17
136 changed files with 1370 additions and 789 deletions

View file

@ -34,9 +34,13 @@ use Symfony\Component\Validator\Constraint;
*/
class NoneOfItsChildren extends Constraint
{
/** @var string The message used if it is tried to assign a object as its own parent */
/**
* @var string The message used if it is tried to assign a object as its own parent
*/
public $self_message = 'validator.noneofitschild.self';
/** @var string The message used if it is tried to use one of the children for as parent */
/**
* @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 function validatedBy()