Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 21:36:22 +02:00
parent 2853e471c4
commit d0b1024d80
212 changed files with 495 additions and 1005 deletions

View file

@ -61,7 +61,7 @@ class SelectableValidator extends ConstraintValidator
*/
public function validate($value, Constraint $constraint): void
{
if (! $constraint instanceof Selectable) {
if (!$constraint instanceof Selectable) {
throw new UnexpectedTypeException($constraint, Selectable::class);
}
@ -72,7 +72,7 @@ class SelectableValidator extends ConstraintValidator
}
//Check type of value. Validating only works for StructuralDBElements
if (! $value instanceof AbstractStructuralDBElement) {
if (!$value instanceof AbstractStructuralDBElement) {
throw new UnexpectedValueException($value, 'StructuralDBElement');
}