@@ -64,9 +64,8 @@ interface ExecutionContextInterface
64
64
/**
65
65
* Adds a violation at the current node of the validation graph.
66
66
*
67
- * @param string|\Stringable $message The error message as a string or a stringable object
68
- * @param array $params The parameters substituted in the error message
69
- * @param string|false|null $translationDomain The translation domain of the error message
67
+ * @param string|\Stringable $message The error message as a string or a stringable object
68
+ * @param array $params The parameters substituted in the error message
70
69
*/
71
70
public function addViolation (string $ message ,array $ params = []/* , string|false|null $translationDomain = null */ );
72
71
@@ -84,7 +83,6 @@ public function addViolation(string $message, array $params = []/* , string|fals
84
83
*
85
84
* @param string|\Stringable $message The error message as a string or a stringable object
86
85
* @param array $parameters The parameters substituted in the error message
87
- * @param string|false|null $translationDomain The translation domain of the error message
88
86
*/
89
87
public function buildViolation (string $ message ,array $ parameters = []/* , string|false|null $translationDomain = null */ ):ConstraintViolationBuilderInterface ;
90
88