You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewEncoderException(sprintf('Variable "%s" for "%s" cannot process its value (%s). Presumably because the NodeType does not recognize the variable', $processedVariable, $nodeClassName, $requiredValue));
@@ -244,7 +227,7 @@ public function objectVariablesAreValidWithData($dataArray, $throwErrorIfFails =
244
227
$variableValue = $data[$variableId];
245
228
if (array_search($variableValue, $unique[$variableId]) !== false) {
246
229
if ($throwErrorIfFails) {
247
-
thrownewEncoderNodeVariableException(sprintf('Variable "%s" must be unique but value "%s" is given at least twice', $variableId, $variableValue));
230
+
thrownewEncoderNodeVariableCollectionException(sprintf('Variable "%s" must be unique but value "%s" is given at least twice', $variableId, $variableValue));
$this->assertEquals('Hello other world | setter pre | setter post | required pre | optional pre | getter post', $encodedProcessed['variable-type']['optional']);
0 commit comments