fixed actor and added test for it
This commit is contained in:
@ -56,10 +56,10 @@ class OCActorRevisionRevertForm extends ConfirmFormBase {
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function create(ContainerInterface $container) {
|
||||
return new static(
|
||||
$container->get('entity.manager')->getStorage('oc_actor'),
|
||||
$container->get('date.formatter')
|
||||
);
|
||||
return new static($container
|
||||
->get('entity_type.manager')
|
||||
->getStorage('oc_actor'), $container
|
||||
->get('date.formatter'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user