Skip to content

Commit 8fc7fe6

Browse files
committed
Add missing dots at the end of exception messages
1 parent e15f2c1 commit 8fc7fe6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Extension/Core/DataTransformer/BooleanToStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(string $trueValue, array $falseValues = [null])
3535
$this->trueValue = $trueValue;
3636
$this->falseValues = $falseValues;
3737
if (\in_array($this->trueValue, $this->falseValues, true)) {
38-
throw new InvalidArgumentException('The specified "true" value is contained in the false-values');
38+
throw new InvalidArgumentException('The specified "true" value is contained in the false-values.');
3939
}
4040
}
4141

ResolvedFormType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function createBuilder(FormFactoryInterface $factory, $name, array $optio
9696
try {
9797
$options = $this->getOptionsResolver()->resolve($options);
9898
} catch (ExceptionInterface $e) {
99-
throw new $e(sprintf('An error has occurred resolving the options of the form "%s": %s', \get_class($this->getInnerType()), $e->getMessage()), $e->getCode(), $e);
99+
throw new $e(sprintf('An error has occurred resolving the options of the form "%s": %s.', \get_class($this->getInnerType()), $e->getMessage()), $e->getCode(), $e);
100100
}
101101

102102
// Should be decoupled from the specific option at some point

0 commit comments

Comments
 (0)