Skip to content

Commit

Permalink
fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 15, 2015
1 parent a645601 commit 76608b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Constraints/IpValidator.php
Expand Up @@ -108,4 +108,3 @@ public function validate($value, Constraint $constraint)
}
}
}

6 changes: 3 additions & 3 deletions Constraints/UuidValidator.php
Expand Up @@ -238,15 +238,15 @@ private function validateStrict($value, Uuid $constraint)
)
->setCode(Uuid::INVALID_HYPHEN_PLACEMENT_ERROR)
->addViolation();
} else {
$this->buildViolation($constraint->message)
} else {
$this->buildViolation($constraint->message)
->setParameter(
'{{ value }}',
$this->formatValue($value)
)
->setCode(Uuid::INVALID_HYPHEN_PLACEMENT_ERROR)
->addViolation();
}
}

return;
}
Expand Down

0 comments on commit 76608b3

Please sign in to comment.