diff --git a/src/Directive/ConstraintErrorMessage.php b/src/Directive/ConstraintErrorMessage.php index 56e1ef2..6e40d1b 100644 --- a/src/Directive/ConstraintErrorMessage.php +++ b/src/Directive/ConstraintErrorMessage.php @@ -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))) { diff --git a/tests/Fixtures/.gitignore b/tests/Fixtures/.gitignore new file mode 100644 index 0000000..48ea8d1 --- /dev/null +++ b/tests/Fixtures/.gitignore @@ -0,0 +1,2 @@ +cache +logs