@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | public function validate($dataTransferObject, Constraint $constraint): void |
33 | 33 | { |
34 | 34 | if (!$constraint instanceof UniqueDataTransferObject) { |
35 | - throw new UnexpectedTypeException($constraint, __NAMESPACE__ . '\UniqueDataTransferObject'); |
|
35 | + throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\UniqueDataTransferObject'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | if (!\is_array($constraint->fields) && !\is_string($constraint->fields)) { |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | |
208 | 208 | array_walk( |
209 | 209 | $identifiers, |
210 | - function (&$id, $field) { |
|
210 | + function(&$id, $field) { |
|
211 | 211 | if (!\is_object($id) || $id instanceof \DateTimeInterface) { |
212 | 212 | $idAsString = $this->formatValue($id, self::PRETTY_DATE); |
213 | 213 | } else { |