fixed case revisions

This commit is contained in:
Nick
2022-06-03 11:44:26 +02:00
parent f9654bcd78
commit 780f144b52
2 changed files with 44 additions and 4 deletions

View File

@ -56,10 +56,10 @@ class OCCaseRevisionRevertForm extends ConfirmFormBase {
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static(
$container->get('entity.manager')->getStorage('oc_case'),
$container->get('date.formatter')
);
return new static($container
->get('entity_type.manager')
->getStorage('oc_case'), $container
->get('date.formatter'));
}
/**