@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function getValidationOptions(Constraint $constraint) |
| 35 | 35 | { |
| 36 | - return array('strict' => (bool)$constraint->strict); |
|
| 36 | + return array('strict' => (bool) $constraint->strict); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $this->validator->validate($pesel, $constraint); |
| 102 | 102 | |
| 103 | 103 | $this->buildViolation('myMessage') |
| 104 | - ->setParameter('{{ value }}', '"'.$pesel.'"') |
|
| 104 | + ->setParameter('{{ value }}', '"' . $pesel . '"') |
|
| 105 | 105 | ->assertRaised(); |
| 106 | 106 | } |
| 107 | 107 | |