protected function computeStateInternally(&$adjustedState, $context)
{
foreach ($adjustedState as $key => &$value) {
if (is_array($value)) {
$this->computeStateInternally($value, $context);
} elseif (is_string($value) && substr($value, 0, 2) === '${' && substr($value, -1) === '}') {
$value = Utility::evaluateEelExpression($value, $this->eelEvaluator, $context, $this->defaultContext);
}
}
}