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 = new ViewBuilder();
$builder->disableAutoLayout() $builder->disableAutoLayout()
->setClassName('Monad') ->setClassName('Monad')
->setTemplate($processingTemplate); ->setTemplate($processingTemplate)
$view = $builder->build($viewVariables); ->setVars($viewVariables);
$view = $builder->build();
$view->setRequest($serverRequest); $view->setRequest($serverRequest);
return $view->render(); return $view->render();
} }