Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
c0ntax committed Jan 4, 2018
1 parent e6560c0 commit d852da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directive/ConstraintErrorMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getViewAttr(): array
private function getConstraintIdFromClass(string $class): string
{
if (!class_exists($class)) {
throw new \InvalidArgumentException($class.' is not a class and therefore doesn\'t impliment '.ConstraintInterface::class);
throw new \InvalidArgumentException($class.' is not a class and therefore doesn\'t implement '.ConstraintInterface::class);
}

if (array_key_exists(ConstraintInterface::class, class_implements($class))) {
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cache
logs

0 comments on commit d852da6

Please sign in to comment.