chg: [inboxProcessor:generic] Updated to not rely on deprecated parameters anymore

pull/121/head
Sami Mokaddem 2022-10-25 10:22:32 +02:00
parent b555aed178
commit a64e62a3fb
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 3 additions and 2 deletions

View File

@ -76,8 +76,9 @@ class GenericInboxProcessor
$builder = new ViewBuilder();
$builder->disableAutoLayout()
->setClassName('Monad')
->setTemplate($processingTemplate);
$view = $builder->build($viewVariables);
->setTemplate($processingTemplate)
->setVars($viewVariables);
$view = $builder->build();
$view->setRequest($serverRequest);
return $view->render();
}